Oops. Add ENT_QUOTES.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-07-28 23:13:01 +00:00
parent 44f4b916f8
commit 3dad21b630
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ function single_month_title($prefix = '', $display = true ) {
/* link navigation hack by Orien http://icecode.com/ */
function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {
$text = wptexturize($text);
$title_text = htmlspecialchars($text);
$title_text = htmlspecialchars($text, ENT_QUOTES);
if ('link' == $format) {
return "\t<link rel='archives' title='$title_text' href='$url' />\n";