Ticket #44916: 44916.diff
File 44916.diff, 647 bytes (added by , 7 years ago) |
---|
-
wp-includes/class-walker-nav-menu.php
218 218 * @param stdClass $args An object of wp_nav_menu() arguments. 219 219 * @param int $depth Depth of menu item. Used for padding. 220 220 */ 221 $title = apply_filters( 'nav_menu_item_title', $title, $item, $args, $depth);221 $title = esc_html( apply_filters( 'nav_menu_item_title', $title, $item, $args, $depth ) ); 222 222 223 223 $item_output = $args->before; 224 224 $item_output .= '<a' . $attributes . '>';