summaryrefslogtreecommitdiffstats
path: root/wp-includes/classes.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-27 14:47:30 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-27 14:47:30 +0000
commit503214a304ab0ce46df6feae4c052abcd941af98 (patch)
tree60d8047e0ac5b79aa7b9cdbbf4168c4a51bc050f /wp-includes/classes.php
parent9869401a21a143eb2369beb24d8446d855c41464 (diff)
downloadwordpress-mu-503214a304ab0ce46df6feae4c052abcd941af98.tar.gz
wordpress-mu-503214a304ab0ce46df6feae4c052abcd941af98.tar.xz
wordpress-mu-503214a304ab0ce46df6feae4c052abcd941af98.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@712 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/classes.php')
-rw-r--r--wp-includes/classes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-includes/classes.php b/wp-includes/classes.php
index 976a727..f2d823f 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 . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . wp_specialchars($page->post_title) . '">' . $page->post_title . '</a>';
+ $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . wp_specialchars($page->post_title, 1) . '">' . $page->post_title . '</a>';
if ( !empty($show_date) ) {
if ( 'modified' == $show_date )
@@ -599,9 +599,9 @@ class Walker_Category extends Walker {
$link = '<a href="' . get_category_link($category->cat_ID) . '" ';
if ( $use_desc_for_title == 0 || empty($category->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).'</a>';