WordPress.org

Make WordPress Core

Ticket #14177: classes.diff

File classes.diff, 982 bytes (added by scribu, 5 years ago)
  • wp-includes/classes.php

     
    12021202 
    12031203                $css_class = implode(' ', apply_filters('page_css_class', $css_class, $page)); 
    12041204 
    1205                 $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . esc_attr( wp_strip_all_tags( apply_filters( 'the_title', $page->post_title, $page->ID ) ) ) . '">' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '</a>'; 
     1205                $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_permalink($page->ID) . '" title="' . esc_attr( wp_strip_all_tags( apply_filters( 'the_title', $page->post_title, $page->ID ) ) ) . '">' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '</a>'; 
    12061206 
    12071207                if ( !empty($show_date) ) { 
    12081208                        if ( 'modified' == $show_date )