• Hi John / Matthew,

    I’ve come across a conflict with the “WordPress SEO” pluging by Yoast the post type selection boxes have multiple copies within the “quickedit” admin side.

    All you need to do is install https://www.ads-software.com/plugins/wordpress-seo/ and you should see the duplication.

    The hook you are using is …
    add_action( 'quick_edit_custom_box', array( $this, 'quickedit' ), 10, 2 );

    I’ve found removing the action by adding the line of code….
    remove_action('quick_edit_custom_box', array( $this, 'quickedit' ), 10 );
    to the end of the public function quickedit( $column_name, $post_type ) unhooks the action and stops the duplication of selection boxes on in the quick-edit admin side, by causing the function to run only once.

    Can you have a look at the conflict ?

    https://www.ads-software.com/plugins/post-type-switcher/

  • The topic ‘Conflict with wordpress-seo’ is closed to new replies.