WordPress.org

Make WordPress Core

Changeset 7625


Ignore:
Timestamp:
04/08/08 01:53:53 (6 years ago)
Author:
ryan
Message:

Show all categories in category filter. Don't show misleading counts. see #6439

File:
1 edited

Legend:

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

    r7603 r7625  
    168168<?php } ?> 
    169169 
    170 <?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&orderby=name&selected='.$cat);?> 
    171 <?php do_action('restrict_manage_posts'); ?> 
     170<?php 
     171$dropdown_options = array('show_option_all' => __('View all categories'), 'hide_empty' => 0, 'hierarchical' => 1, 
     172    'show_count' => 0, 'orderby' => 'name', 'selected' => $cat); 
     173wp_dropdown_categories($dropdown_options); 
     174do_action('restrict_manage_posts'); 
     175?> 
    172176<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" /> 
    173177 
Note: See TracChangeset for help on using the changeset viewer.