mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-19 13:07:49 +00:00
Apply esc_html properly in Walker_PageDropdown. fixes #17217 for the 3.1 branch.
git-svn-id: http://svn.automattic.com/wordpress/branches/3.1@17685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c7e289e0f
commit
3aa1494dc6
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user