- Timestamp:
- 01/29/2016 04:32:36 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/handbook.php
r2016 r2417 236 236 */ 237 237 function disable_p2_resolved_posts_action_links() { 238 if ( ( $this->post_type == get_post_type() ) && class_exists( 'P2_Resolved_Posts' ) && is _object( P2_Resolved_Posts::$instance) ) {239 remove_filter( 'p2_action_links', array( P2_Resolved_Posts:: $instance, 'p2_action_links' ), 100 );238 if ( ( $this->post_type == get_post_type() ) && class_exists( 'P2_Resolved_Posts' ) && isset( $GLOBALS['p2_resolved_posts'] ) && is_object( $GLOBALS['p2_resolved_posts'] ) ) { 239 remove_filter( 'p2_action_links', array( P2_Resolved_Posts::instance(), 'p2_action_links' ), 100 ); 240 240 } 241 241 }
Note: See TracChangeset
for help on using the changeset viewer.