Walker_PageDropdown doesn't filter titles correctly
|Reported by:||Otto42||Owned by:|
Description (last modified by Otto42)
The Walker_PageDropdown has this code:
$title = esc_html($page->post_title); $title = apply_filters( 'list_pages', $page->post_title );
Meaning that the esc_html is not applied properly, since $title just gets replaces with the $post_title again.
Fix is this:
$title = esc_html($page->post_title); $title = apply_filters( 'list_pages', $title );
Change History (7)
- Component changed from Security to Administration
- Priority changed from high to normal
- Severity changed from major to normal
Note: See TracTickets for help on using tickets.