Changeset 4723

Show
Ignore:
Timestamp:
01/12/07 03:54:22 (2 years ago)
Author:
ryan
Message:

Pass all args to the page walker.

Files:

Legend:

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

    r4656 r4723  
    499499    } 
    500500 
    501     function start_el($output, $page, $depth, $current_page, $show_date, $date_format) { 
     501    function start_el($output, $page, $depth, $current_page, $args) { 
    502502        if ( $depth ) 
    503503            $indent = str_repeat("\t", $depth); 
    504  
     504        extract($args); 
    505505        $css_class = 'page_item'; 
    506506        $_current_page = get_page( $current_page ); 
  • trunk/wp-includes/post-template.php

    r4682 r4723  
    290290        global $wp_query; 
    291291        $current_page = $wp_query->get_queried_object_id(); 
    292         $output .= walk_page_tree($pages, $r['depth'], $current_page, $r['show_date'], $r['date_format']); 
     292        $output .= walk_page_tree($pages, $r['depth'], $current_page, $r); 
    293293 
    294294        if ( $r['title_li'] )