Allow removing all categories via quick edit. Props duck_. fixes #13397
git-svn-id: http://svn.automattic.com/wordpress/trunk@14724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
53bff5059f
commit
0ce5224be6
|
@ -980,6 +980,7 @@ if ( !$bulk ) :
|
|||
<span class="catshow"><?php _e('[more]'); ?></span>
|
||||
<span class="cathide" style="display:none;"><?php _e('[less]'); ?></span>
|
||||
</span>
|
||||
<input type="hidden" name="<?php echo ( $taxonomy->name == 'category' ) ? 'post_category[]' : 'tax_input[' . esc_attr($taxonomy->name) . '][]'; ?>" value="0" />
|
||||
<ul class="cat-checklist <?php echo esc_attr($taxonomy->name)?>-checklist">
|
||||
<?php wp_terms_checklist(null, array('taxonomy' => $taxonomy->name)) ?>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue