Skip to content

Commit 0e8cc95

Browse files
authored
Merge pull request #349 from bikubi/master
fix variable name typo (which throws a Notice if WP_DEBUG==true)
2 parents 11e3e90 + 522cd98 commit 0e8cc95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

class-wp-bootstrap-navwalker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public function start_lvl( &$output, $depth = 0, $args = array() ) {
7474
// with pointer at end of array check if we got an ID match.
7575
if ( end( $matches[2] ) ) {
7676
// build a string to use as aria-labelledby.
77-
$lablledby = 'aria-labelledby="' . end( $matches[2] ) . '"';
77+
$labelledby = 'aria-labelledby="' . end( $matches[2] ) . '"';
7878
}
79-
$output .= "{$n}{$indent}<ul$class_names $lablledby role=\"menu\">{$n}";
79+
$output .= "{$n}{$indent}<ul$class_names $labelledby role=\"menu\">{$n}";
8080
}
8181

8282
/**

0 commit comments

Comments
 (0)