diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 7d56dc4288..c4a7c768e6 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1219,7 +1219,7 @@ function get_inline_data($post) { if ( ! current_user_can($post_type_object->edit_cap, $post->ID) ) return; - $title = esc_attr($post->post_title); + $title = esc_attr( get_the_title( $post->ID ) ); echo '