Skip to content

Commit 7ec0e85

Browse files
authored
Closing element function call fix
1 parent 26a280a commit 7ec0e85

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)