From c3579159423dfc02b053a190b151f61a7369f273 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 10 Dec 2009 09:13:11 +0000 Subject: [PATCH] Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997 git-svn-id: https://develop.svn.wordpress.org/trunk@12362 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 4956b64136..8944405add 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -970,7 +970,7 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c if ( !empty( $css_class ) ) { echo ' class="'.$css_class.'" '; } - $title = esc_attr( get_the_title() ); + $title = the_title_attribute( 'echo=0' ); echo apply_filters( 'comments_popup_link_attributes', '' );