Fix #513 - Fix strict errors
This commit is contained in:
@@ -434,11 +434,11 @@ class Roots_Nav_Walker extends Walker_Nav_Menu {
|
||||
return preg_match('/(current[-_])|active|dropdown/', $classes);
|
||||
}
|
||||
|
||||
function start_lvl(&$output, $depth) {
|
||||
function start_lvl(&$output, $depth = 0, $args = array()) {
|
||||
$output .= "\n<ul class=\"dropdown-menu\">\n";
|
||||
}
|
||||
|
||||
function start_el(&$output, $item, $depth, $args) {
|
||||
function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) {
|
||||
global $wp_query;
|
||||
$indent = ($depth) ? str_repeat("\t", $depth) : '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user