Support » Plugin: Post Type Switcher » Quick Edit Shows Multiple Post Type Drop-Downs

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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(); ?>
    				</label>
    			</div>
    		</fieldset>
    <?php
    			break;
    		}
    	}

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

    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 🙂

    This fixed mine as well!

    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)

    Thank you. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Quick Edit Shows Multiple Post Type Drop-Downs’ is closed to new replies.