diff --git app/wp-admin/includes/nav-menu.php app/wp-admin/includes/nav-menu.php
index 6064462..280cc29 100644
--- app/wp-admin/includes/nav-menu.php
+++ app/wp-admin/includes/nav-menu.php
@@ -14,7 +14,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
*
* @param string $output Passed by reference.
*/
- function start_lvl(&$output) {}
+ function start_lvl(&$output, $depth = 0, $args = array()) {}
/**
* @see Walker_Nav_Menu::end_lvl()
@@ -22,7 +22,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
*
* @param string $output Passed by reference.
*/
- function end_lvl(&$output) {
+ function end_lvl(&$output, $depth = 0, $args = array()) {
}
/**
@@ -34,7 +34,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu {
* @param int $depth Depth of menu item. Used for padding.
* @param object $args
*/
- function start_el(&$output, $item, $depth, $args) {
+ function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) {
global $_wp_nav_menu_max_depth;
$_wp_nav_menu_max_depth = $depth > $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth;
@@ -216,12 +216,12 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
}
}
- function start_lvl( &$output, $depth ) {
+ function start_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat( "\t", $depth );
$output .= "\n$indent<ul class='children'>\n";
}
- function end_lvl( &$output, $depth ) {
+ function end_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat( "\t", $depth );
$output .= "\n$indent</ul>";
}
@@ -235,7 +235,7 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
* @param int $depth Depth of menu item. Used for padding.
* @param object $args
*/
- function start_el(&$output, $item, $depth, $args) {
+ function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) {
global $_nav_menu_placeholder;
$_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval($_nav_menu_placeholder) - 1 : -1;
diff --git app/wp-admin/includes/template.php app/wp-admin/includes/template.php
index 788a4bd..1c630a0 100644
--- app/wp-admin/includes/template.php
+++ app/wp-admin/includes/template.php
@@ -34,7 +34,7 @@ class Walker_Category_Checklist extends Walker {
$output .= "$indent</ul>\n";
}
- function start_el( &$output, $category, $depth, $args, $id = 0 ) {
+ function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
extract($args);
if ( empty($taxonomy) )
$taxonomy = 'category';
diff --git app/wp-includes/class-wp-walker.php app/wp-includes/class-wp-walker.php
index df9d9b6..91b926f 100644
--- app/wp-includes/class-wp-walker.php
+++ app/wp-includes/class-wp-walker.php
@@ -80,7 +80,7 @@ class Walker {
*
* @param string $output Passed by reference. Used to append additional content.
*/
- function start_el( &$output, $object, $depth, $args, $current_object_id = 0 ) {}
+ function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {}
/**
* Ends the element output, if needed.