Skip to content

Commit c7abf4a

Browse files
authored
Merge pull request #445 from IanDelMar/remove-esc-html
Remove esc_html() from $item->title
2 parents e3af960 + d755253 commit c7abf4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

class-wp-bootstrap-navwalker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function start_el( &$output, $item, $depth = 0, $args = null, $id = 0 ) {
272272
}
273273

274274
/** This filter is documented in wp-includes/post-template.php */
275-
$title = apply_filters( 'the_title', esc_html( $item->title ), $item->ID );
275+
$title = apply_filters( 'the_title', $item->title, $item->ID );
276276

277277
/**
278278
* Filters a menu item's title.

0 commit comments

Comments
 (0)