WordPress.org

Make WordPress Core

Ticket #4004: Filter change.patch

File Filter change.patch, 825 bytes (added by Dickie, 7 years ago)

Patch File for Filter Change

  • trunk/wp-includes/classes.php

     
    514514                elseif ( $_current_page && $page->ID == $_current_page->post_parent ) 
    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('wp_list_pages_title',$page->post_title, $page)) . '">' . $page->post_title . '</a>'; 
    518518 
    519519                if ( !empty($show_date) ) { 
    520520                        if ( 'modified' == $show_date )