Apply esc_html properly in Walker_PageDropdown. fixes #17217.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-04-22 18:24:57 +00:00
parent 26989db5d4
commit 8a0d83bebe
1 changed files with 1 additions and 2 deletions

View File

@ -1100,9 +1100,8 @@ class Walker_PageDropdown extends Walker {
if ( $page->ID == $args['selected'] )
$output .= ' selected="selected"';
$output .= '>';
$title = esc_html($page->post_title);
$title = apply_filters( 'list_pages', $page->post_title );
$output .= "$pad$title";
$output .= $pad . esc_html( $title );
$output .= "</option>\n";
}
}