Make WordPress Core


Ignore:
Timestamp:
10/04/2006 07:54:38 AM (18 years ago)
Author:
markjaquith
Message:

Manage Posts: hide empty categories in dropdown, provide hook for custom filtering. Props westi. fixes #3120

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r4258 r4321  
    116116    <fieldset>
    117117    <legend><?php _e('Browse Category&hellip;') ?></legend>
    118     <?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=0&hierarchical=1&show_count=1&selected='.$cat);?>
     118    <?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?>
    119119    <input type="submit" name="submit" value="<?php _e('Show Category') ?>"  />
    120120    </fieldset>
    121121</form>
     122
     123<?php do_action('restrict_manage_posts'); ?>
    122124
    123125<br style="clear:both;" />
Note: See TracChangeset for help on using the changeset viewer.