mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01:00
Manage Posts: hide empty categories in dropdown, provide hook for custom filtering. Props westi. fixes #3120
git-svn-id: https://develop.svn.wordpress.org/trunk@4321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b2cf5d4a93
commit
c09becab36
@ -115,11 +115,13 @@ if ( count($arc_result) ) { ?>
|
||||
<form name="viewcat" id="viewcat" action="" method="get">
|
||||
<fieldset>
|
||||
<legend><?php _e('Browse Category…') ?></legend>
|
||||
<?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=0&hierarchical=1&show_count=1&selected='.$cat);?>
|
||||
<?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?>
|
||||
<input type="submit" name="submit" value="<?php _e('Show Category') ?>" />
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<?php do_action('restrict_manage_posts'); ?>
|
||||
|
||||
<br style="clear:both;" />
|
||||
|
||||
<?php
|
||||
|
Loading…
x
Reference in New Issue
Block a user