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:
ryan 2006-07-06 02:28:34 +00:00
parent 6a2bf58f78
commit 681c4b9129

View File

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