Ready to get started?Download WordPress


Post Type Switcher
Quick Edit Shows Multiple Post Type Drop-Downs (6 posts)

  1. UaMV
    Posted 1 year ago #

    FYI: When i quick edit a post, multiple post type drop-downs appear. i think the functionality is not adversely affected, but is a bug that could be fixed. Thanks!


  2. Elizabeth Powell
    Posted 1 year ago #

    I was getting this problem too... I think it's because the quickedit function is run for every custom column on the screen, when it only needs to run for the post_type column.

    I fixed it locally (WP 3.4) by making the function on line 141 into this, modeled on the function above:

    public function quickedit( $column_name, $post_type ) {
    		switch( $column_name ) {
    			case 'post_type' :
    		<fieldset class="inline-edit-col-right">
    			<div class="inline-edit-col">
    				<label class="alignleft">
    					<span class="title"><?php _e( 'Post Type' ); ?></span>
    					<?php wp_nonce_field( 'post-type-selector', 'pts-nonce-select' ); ?>
    					<?php $this->select_box(); ?>

    I haven't tested this on other systems, though!

  3. gecko_guy
    Posted 1 year ago #

    I also had this problem, and the fix posted by Elizabeth works, thanks!

    Only problem is that any update to the plugin will probably break it, but hopefully the developer will fix it going forward :)

  4. energy0m
    Posted 1 year ago #

    This fixed mine as well!

  5. UaMV
    Posted 1 year ago #

    Just able to check this out after the holidays ... works wonderfully for me, as well! Thanks for the fix, Elizabeth! (NOTE: Leaving unresolved until implemented by author)

  6. Christian K. Nordtomme
    Posted 1 year ago #

    Thank you. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic