Ticket #6637: 6637-array.diff
| File 6637-array.diff, 0.6 kB (added by ryan, 7 months ago) |
|---|
-
wp-includes/widgets.php
old new 710 710 echo $before_widget; 711 711 echo $before_title . $title . $after_title; 712 712 713 $cat_args = "orderby=name&show_count={$c}&hierarchical={$h}";713 $cat_args = array('orderby' => 'name', 'show_count' => $c, 'hierarchical' => $h); 714 714 715 715 if ( $d ) { 716 wp_dropdown_categories($cat_args . '&show_option_none= ' . __('Select Category')); 716 $cat_args['show_option_none'] = __('Select Category'); 717 wp_dropdown_categories($cat_args); 717 718 ?> 718 719 719 720 <script type='text/javascript'>
