Make WordPress Core

Changeset 16278


Ignore:
Timestamp:
11/10/2010 05:08:05 PM (16 years ago)
Author:
nacin
Message:

Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323, props filosofo.

File:
1 edited

Legend:

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

    r16246 r16278  
    269269                return;
    270270
    271         $title = esc_attr( get_the_title( $post->ID ) );
     271        $title = esc_attr( trim( $post->post_title ) );
    272272
    273273        echo '
Note: See TracChangeset for help on using the changeset viewer.