WordPress.org

Make WordPress Core

Changeset 14013


Ignore:
Timestamp:
04/06/2010 02:43:23 AM (10 years ago)
Author:
markjaquith
Message:

These nav_menu parameters should not be esc_html()d. fixes #12715. props ptahdunbar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/nav-menu-template.php

    r13974 r14013  
    160160            $attributes .= ! empty( $menu_item->url )        ? ' href="'   . esc_attr( $menu_item->url        ) .'"' : '';
    161161
    162             $output .= esc_html( $args->before );
     162            $output .= $args->before;
    163163            $output .= '<a'. $attributes .'>';
    164             $output .= esc_html( $args->link_before . apply_filters('the_title', $menu_item->title) . $args->link_after );
     164            $output .= $args->link_before . apply_filters('the_title', $menu_item->title) . $args->link_after;
    165165            $output .= '</a>';
    166             $output .= esc_html( $args->after );
     166            $output .= $args->after;
    167167
    168168            break;
Note: See TracChangeset for help on using the changeset viewer.