Oops. Add ENT_QUOTES.

git-svn-id: https://develop.svn.wordpress.org/trunk@1498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-07-28 23:13:01 +00:00
parent 52ae977992
commit 49d3ad1d06
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";