WordPress.org

Make WordPress Core

Changeset 5164


Ignore:
Timestamp:
04/01/07 15:40:50 (8 years ago)
Author:
rob1n
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r5149 r5164  
    515515            $css_class .= ' current_page_parent'; 
    516516 
    517         $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape($page->post_title) . '">' . $page->post_title . '</a>'; 
     517        $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>'; 
    518518 
    519519        if ( !empty($show_date) ) { 
Note: See TracChangeset for help on using the changeset viewer.