From f88cdc0668b0dc848952391497047cf2dc51afae Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 10 Nov 2011 18:35:25 +0000 Subject: [PATCH] Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727. git-svn-id: http://svn.automattic.com/wordpress/trunk@19240 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index d2780573d1..eac548b0b0 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1042,7 +1042,7 @@ class Walker_Page extends Walker { $css_class[] = 'current_page_parent'; } - $css_class = implode(' ', apply_filters('page_css_class', $css_class, $page)); + $css_class = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) ); $output .= $indent . '
  • ' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '';