Changeset 7873

Show
Ignore:
Timestamp:
05/02/08 17:00:17 (5 months ago)
Author:
ryan
Message:

Use array calling style. Props guillep2k for the find. fixes #6637 for 2.5

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.5/wp-includes/widgets.php

    r7735 r7873  
    711711    echo $before_title . $title . $after_title; 
    712712 
    713     $cat_args = "orderby=name&show_count={$c}&hierarchical={$h}"
     713    $cat_args = array('orderby' => 'name', 'show_count' => $c, 'hierarchical' => $h)
    714714 
    715715    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); 
    717718?> 
    718719