Make WordPress Core


Ignore:
Timestamp:
11/21/2008 05:17:18 PM (15 years ago)
Author:
westi
Message:

Make arguments to start_el consistent and ensure that page walking is consistent. Fixes #8303 and #8091 props filosofo.

File:
1 edited

Legend:

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

    r9816 r9830  
    688688 * @see Walker_Page::walk() for parameters and return description.
    689689 */
    690 function walk_page_tree() {
     690function walk_page_tree($pages, $depth, $current_page, $r) {
    691691    $walker = new Walker_Page;
    692     $args = func_get_args();
     692    $args = array($pages, $depth, $r, $current_page);
    693693    return call_user_func_array(array(&$walker, 'walk'), $args);
    694694}
Note: See TracChangeset for help on using the changeset viewer.