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.

git-svn-id: https://develop.svn.wordpress.org/trunk@16278 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-11-10 17:08:05 +00:00
parent 0f662479db
commit 7912dd4561
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ function get_inline_data($post) {
if ( ! current_user_can($post_type_object->cap->edit_post, $post->ID) )
return;
$title = esc_attr( get_the_title( $post->ID ) );
$title = esc_attr( trim( $post->post_title ) );
echo '
<div class="hidden" id="inline_' . $post->ID . '">