Fix #513 - Fix strict errors

This commit is contained in:
Ben Word
2012-08-18 19:44:47 -05:00
parent bf222893b6
commit 431e2fafae
3 changed files with 5 additions and 3 deletions

View File

@@ -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) : '';