Strip HTML from comments_popup_link title attribute. props ewestp, xenlab. fixes #10997

git-svn-id: http://svn.automattic.com/wordpress/trunk@12362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2009-12-10 09:13:11 +00:00
parent c8bc30db67
commit 182ec07a44
1 changed files with 1 additions and 1 deletions

View File

@ -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', '' );