WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2012 11:03:46 PM (10 years ago)
Author:
ryan
Message:

Clear strict notices for the walkers. fixes #19249

File:
1 edited

Legend:

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

    r19665 r19679  
    2323    var $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this
    2424
    25     function start_lvl(&$output, $depth, $args) {
     25    function start_lvl( &$output, $depth = 0, $args = array() ) {
    2626        $indent = str_repeat("\t", $depth);
    2727        $output .= "$indent<ul class='children'>\n";
    2828    }
    2929
    30     function end_lvl(&$output, $depth, $args) {
     30    function end_lvl( &$output, $depth = 0, $args = array() ) {
    3131        $indent = str_repeat("\t", $depth);
    3232        $output .= "$indent</ul>\n";
    3333    }
    3434
    35     function start_el(&$output, $category, $depth, $args) {
     35    function start_el( &$output, $category, $depth, $args, $id = 0 ) {
    3636        extract($args);
    3737        if ( empty($taxonomy) )
     
    4747    }
    4848
    49     function end_el(&$output, $category, $depth, $args) {
     49    function end_el( &$output, $category, $depth = 0, $args = array() ) {
    5050        $output .= "</li>\n";
    5151    }
Note: See TracChangeset for help on using the changeset viewer.