Make WordPress Core


Ignore:
Timestamp:
05/08/2008 07:19:58 PM (17 years ago)
Author:
ryan
Message:

Use array calling style. see #6647

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r7883 r7911  
    490490function page_rows( $pages ) {
    491491    if ( ! $pages )
    492         $pages = get_pages( 'sort_column=menu_order' );
     492        $pages = get_pages( array('sort_column' => 'menu_order') );
    493493
    494494    if ( ! $pages )
     
    702702function wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 ) {
    703703    if (!$categories )
    704         $categories = get_categories( 'hide_empty=0' );
     704        $categories = get_categories( array('hide_empty' => 0) );
    705705
    706706    if ( $categories ) {
Note: See TracChangeset for help on using the changeset viewer.