WordPress.org

Make WordPress Core

Ticket #17727: post-template.php.diff

File post-template.php.diff, 756 bytes (added by TheDeadMedic, 7 years ago)
  • post-template.php

     
    10361036                        $css_class[] = 'current_page_parent';
    10371037                }
    10381038
    1039                 $css_class = implode(' ', apply_filters('page_css_class', $css_class, $page));
     1039                $css_class = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) );
    10401040
    10411041                $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>';
    10421042