Oops. Add ENT_QUOTES.
git-svn-id: https://develop.svn.wordpress.org/trunk@1498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
52ae977992
commit
49d3ad1d06
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user