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: http://svn.automattic.com/wordpress/trunk@16278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-11-10 17:08:05 +00:00
parent 3b2c4501d1
commit 4a4505c7db
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 . '">