Clear strict notices for the walkers. fixes #19249

git-svn-id: https://develop.svn.wordpress.org/trunk@19679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-01-04 23:03:46 +00:00
parent 3e9c3dbed6
commit c855c642ea
7 changed files with 30 additions and 30 deletions
+4 -4
View File
@@ -52,7 +52,7 @@ class Walker {
*
* @param string $output Passed by reference. Used to append additional content.
*/
function start_lvl(&$output) {}
function start_lvl( &$output, $depth = 0, $args = array() ) {}
/**
* Ends the list of after the elements are added.
@@ -66,7 +66,7 @@ class Walker {
*
* @param string $output Passed by reference. Used to append additional content.
*/
function end_lvl(&$output) {}
function end_lvl( &$output, $depth = 0, $args = array() ) {}
/**
* Start the element output.
@@ -80,7 +80,7 @@ class Walker {
*
* @param string $output Passed by reference. Used to append additional content.
*/
function start_el(&$output) {}
function start_el( &$output, $object, $depth, $args, $current_object_id = 0 ) {}
/**
* Ends the element output, if needed.
@@ -93,7 +93,7 @@ class Walker {
*
* @param string $output Passed by reference. Used to append additional content.
*/
function end_el(&$output) {}
function end_el( &$output, $object, $depth = 0, $args = array() ) {}
/**
* Traverse elements to create list from elements.