diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 0a3d9b1d0f..114b1bf955 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -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 '