specialchars comment title. Props deko. fixes #2915

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-07-06 02:24:48 +00:00
parent 9591f04a8f
commit 96e1fc875c
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Com
echo ' class="'.$CSSclass.'"';
}
$title = wp_specialchars(apply_filters('the_title', get_the_title()));
echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">';
echo ' title="' . sprintf( __('Comment on %s'), wp_specialchars($title, 'double') ) .'">';
comments_number($zero, $one, $more, $number);
echo '</a>';
}