Make WordPress Core

Ticket #9304: page_css_class-2.diff

File page_css_class-2.diff, 657 bytes (added by wnorris, 15 years ago)
  • wp-includes/classes.php

     
    11721172                        $css_class .= ' current_page_parent';
    11731173                }
    11741174
     1175                $css_class = implode(' ', apply_filters('page_css_class', explode(' ', $css_class), $page));
     1176
    11751177                $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape(apply_filters('the_title', $page->post_title)) . '">' . $link_before . apply_filters('the_title', $page->post_title) . $link_after . '</a>';
    11761178
    11771179                if ( !empty($show_date) ) {