Changes between Initial Version and Version 1 of Ticket #17217
- Timestamp:
- 04/22/2011 05:03:30 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17217 – Description
initial v1 1 1 The Walker_PageDropdown has this code: 2 2 3 `$title = esc_html($page->post_title); 4 $title = apply_filters( 'list_pages', $page->post_title );` 3 {{{ 4 $title = esc_html($page->post_title); 5 $title = apply_filters( 'list_pages', $page->post_title ); 6 }}} 5 7 6 8 Meaning that the esc_html is not applied properly, since $title just gets replaces with the $post_title again. 7 9 8 10 Fix is this: 9 `$title = esc_html($page->post_title); 10 $title = apply_filters( 'list_pages', $title );` 11 {{{ 12 $title = esc_html($page->post_title); 13 $title = apply_filters( 'list_pages', $title ); 14 }}} 11 15 12 16 Patch attached.