Allow removing all categories via quick edit. Props duck_. fixes #13397

git-svn-id: https://develop.svn.wordpress.org/trunk@14724 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-05-18 15:08:05 +00:00
parent aab2aeaa75
commit 51518f24be
1 changed files with 1 additions and 0 deletions

View File

@ -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>