Skip to content

Commit ea9c491

Browse files
committed
Merge branch 'patch-4' of git://github.com/szepeviktor/wp-bootstrap-navwalker into szepeviktor-patch-4
2 parents d3d38f3 + 7ec0e85 commit ea9c491

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)