Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/includes/class-wp-posts-list-table.php

    r17349 r17705  
    311311                        $posts = $wp_query->posts;
    312312
     313                add_filter( 'the_title', 'esc_html' );
     314
    313315                if ( $this->hierarchical_display ) {
    314316                        $this->_display_rows_hierarchical( $posts, $this->get_pagenum(), $per_page );
    … …  
    320322        function _display_rows( $posts ) {
    321323                global $post, $mode;
    322 
    323                 add_filter( 'the_title', 'esc_html' );
    324324
    325325                // Create array of post IDs.
    … …  
    523523                                        }
    524524
    525                                         $post->post_title = esc_html( $post->post_title );
    526525                                        $pad = str_repeat( '— ', $level );
    527526?>
Note: See TracChangeset for help on using the changeset viewer.