WordPress.org

Make WordPress Core

Changeset 17685


Ignore:
Timestamp:
04/22/2011 06:43:00 PM (7 years ago)
Author:
nacin
Message:

Apply esc_html properly in Walker_PageDropdown. fixes #17217 for the 3.1 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/post-template.php

    r17292 r17685  
    11011101            $output .= ' selected="selected"';
    11021102        $output .= '>';
    1103         $title = esc_html($page->post_title);
    11041103        $title = apply_filters( 'list_pages', $page->post_title );
    1105         $output .= "$pad$title";
     1104        $output .= $pad . esc_html( $title );
    11061105        $output .= "</option>\n";
    11071106    }
Note: See TracChangeset for help on using the changeset viewer.