From 426d0b472aa03fecde9eca15a37af1265769b581 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 11 Jun 2004 18:09:21 +0000 Subject: [PATCH] Ugly but works. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000014 git-svn-id: https://develop.svn.wordpress.org/trunk@1410 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index 43c34c3674..1e08730e77 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -419,9 +419,9 @@ function get_calendar($daylength = 1) { $ak_titles_for_day['day_'.$ak_post_title->dom] = ''; } if (empty($ak_titles_for_day["$ak_post_title->dom"])) { // first one - $ak_titles_for_day["$ak_post_title->dom"] = htmlspecialchars(stripslashes($ak_post_title->post_title)); + $ak_titles_for_day["$ak_post_title->dom"] = str_replace('"', '"', wptexturize(stripslashes($ak_post_title->post_title))); } else { - $ak_titles_for_day["$ak_post_title->dom"] .= $ak_title_separator . htmlspecialchars(stripslashes($ak_post_title->post_title)); + $ak_titles_for_day["$ak_post_title->dom"] .= $ak_title_separator . str_replace('"', '"', wptexturize(stripslashes($ak_post_title->post_title))); } } }