Plugin Directory

Changeset 1023208


Ignore:
Timestamp:
11/10/2014 05:13:52 PM (11 years ago)
Author:
rufein
Message:

Avoid duplicating bulk actions to filter the posts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-seo-yoast-integration-mq-translate/trunk/admin/class-metabox-wpSEOyoast-integr.php

    r1023204 r1023208  
    7070            // Remove action form the parent class
    7171            remove_action( 'post_submitbox_misc_actions', array( $GLOBALS['old_wpseo_metabox']  , 'publish_box' ));
     72           
     73            // Remove action to avoid duplicate actions in bulk actions
     74            remove_action( 'restrict_manage_posts', array( $GLOBALS['old_wpseo_metabox'] , 'posts_filter_dropdown' ));
    7275           
    7376            $post_types = get_post_types( array( 'public' => true ), 'names' );
Note: See TracChangeset for help on using the changeset viewer.