diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index 06394165b7..54b7b17af9 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -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\n";