WordPress.org

Make WordPress Core

Changeset 13079


Ignore:
Timestamp:
02/13/2010 03:17:57 AM (11 years ago)
Author:
nacin
Message:

Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.

File:
1 edited

Legend:

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

    r13045 r13079  
    12201220        return;
    12211221
    1222     $title = esc_attr($post->post_title);
     1222    $title = esc_attr( get_the_title( $post->ID ) );
    12231223
    12241224    echo '
     
    33233323 *
    33243324 */
    3325 function _draft_or_post_title($post_id = 0)
    3326 {
     3325function _draft_or_post_title($post_id = 0) {
    33273326    $title = get_the_title($post_id);
    33283327    if ( empty($title) )
Note: See TracChangeset for help on using the changeset viewer.