Changeset 7872

Show
Ignore:
Timestamp:
05/02/08 16:59:49 (5 months ago)
Author:
ryan
Message:

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

Files:

Legend:

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

    r7850 r7872  
    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