WordPress.org

Make WordPress Core

Changeset 17683


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

Apply esc_html properly in Walker_PageDropdown. fixes #17217.

File:
1 edited

Legend:

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

    r17564 r17683  
    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.