From 1e3675526da447f04af426f4b8689b5fd0df1030 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 26 Jul 2006 08:40:00 +0000 Subject: [PATCH] Quote escaping fixes from mdawaffe. fixes #2975 git-svn-id: http://svn.automattic.com/wordpress/trunk@4043 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/classes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index 976a727608..f2d823f26d 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -531,7 +531,7 @@ class Walker_Page extends Walker { if ( $page->ID == $current_page ) $css_class .= ' current_page_item'; - $output .= $indent . '
  • ' . $page->post_title . ''; + $output .= $indent . '
  • ' . $page->post_title . ''; if ( !empty($show_date) ) { if ( 'modified' == $show_date ) @@ -599,9 +599,9 @@ class Walker_Category extends Walker { $link = 'category_description) ) - $link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name)) . '"'; + $link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name, 1)) . '"'; else - $link .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description,$category)) . '"'; + $link .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description,$category),1) . '"'; $link .= '>'; $link .= apply_filters('list_cats', $category->cat_name, $category).'';