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:
parent
aab2aeaa75
commit
51518f24be
@ -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
Block a user