Skip to content

Commit 223f70c

Browse files
committed
Merge branch 'szepeviktor-patch-4'
2 parents d3d38f3 + ea9c491 commit 223f70c

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
@@ -277,8 +277,8 @@ public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0
277277
* correct element depending on the type of link or link mod.
278278
*/
279279
if ( '' !== $linkmod_type ) {
280-
// is linkmod, output the required element opener.
281-
$item_output .= self::linkmod_element_close( $linkmod_type, $attributes );
280+
// is linkmod, output the required closing element.
281+
$item_output .= self::linkmod_element_close( $linkmod_type );
282282
} else {
283283
// With no link mod type set this must be a standard <a> tag.
284284
$item_output .= '</a>';

0 commit comments

Comments
 (0)