Make WordPress Core


Ignore:
Timestamp:
05/28/2013 03:29:15 AM (13 years ago)
Author:
SergeyBiryukov
Message:

Fix E_STRICT notices in walkers. props dvarga. see #24356.

File:
1 edited

Legend:

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

    r24336 r24377  
    10541054         * @param array $args
    10551055         */
    1056         function start_el( &$output, $page, $depth, $args, $current_page = 0 ) {
     1056        function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) {
    10571057                if ( $depth )
    10581058                        $indent = str_repeat("\t", $depth);
    … …  
    11361136         * @param int $id
    11371137         */
    1138         function start_el(&$output, $page, $depth, $args, $id = 0) {
     1138        function start_el( &$output, $page, $depth = 0, $args = array(), $id = 0 ) {
    11391139                $pad = str_repeat(' ', $depth * 3);
    11401140
Note: See TracChangeset for help on using the changeset viewer.