From b154b4d604ad03c8e06d0aa02d185bf9b397e8e8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 13 Feb 2010 03:17:57 +0000 Subject: [PATCH] Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307. git-svn-id: https://develop.svn.wordpress.org/trunk@13079 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 '