Run the post titles through the the_title filter. fixes #3366

git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-01 15:40:50 +00:00
parent f600a397d1
commit 616570aadc
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class Walker_Page extends Walker {
elseif ( $_current_page && $page->ID == $_current_page->post_parent ) elseif ( $_current_page && $page->ID == $_current_page->post_parent )
$css_class .= ' current_page_parent'; $css_class .= ' current_page_parent';
$output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape($page->post_title) . '">' . $page->post_title . '</a>'; $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . apply_filters('the_title', $page->post_title) . '</a>';
if ( !empty($show_date) ) { if ( !empty($show_date) ) {
if ( 'modified' == $show_date ) if ( 'modified' == $show_date )