mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
specialchars quotes in comment title. Props deko. fixes #2915
git-svn-id: http://svn.automattic.com/wordpress/trunk@3995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6a2bf58f78
commit
681c4b9129
@ -350,7 +350,7 @@ function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Com
|
||||
if (!empty($CSSclass)) {
|
||||
echo ' class="'.$CSSclass.'"';
|
||||
}
|
||||
$title = wp_specialchars(apply_filters('the_title', get_the_title()));
|
||||
$title = wp_specialchars(apply_filters('the_title', get_the_title()), true);
|
||||
echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">';
|
||||
comments_number($zero, $one, $more, $number);
|
||||
echo '</a>';
|
||||
|
Loading…
Reference in New Issue
Block a user