Added extra html escaping to title.

git-svn-id: http://svn.automattic.com/wordpress/trunk@180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-06-06 23:59:25 +00:00
parent 4b4315310e
commit d4cc232280
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ for($i = $calendarfirst; $i<($calendarlast+86400); $i = $i + 86400) {
$ak_day_titles = ""; $ak_day_titles = "";
foreach($ak_day_title_array as $post) { foreach($ak_day_title_array as $post) {
if (substr($post->post_date, 8, 2) == date('d',$i)) { if (substr($post->post_date, 8, 2) == date('d',$i)) {
$ak_day_titles = $ak_day_titles.stripslashes($post->post_title).$ak_title_separator; $ak_day_titles = $ak_day_titles.htmlspecialchars(stripslashes($post->post_title)).$ak_title_separator;
} }
} }
$ak_day_titles = substr($ak_day_titles, 0, strlen($ak_day_titles) - $ak_trim); $ak_day_titles = substr($ak_day_titles, 0, strlen($ak_day_titles) - $ak_trim);