WordPress.org

Make WordPress Core

Changeset 19240


Ignore:
Timestamp:
11/10/11 18:35:25 (4 years ago)
Author:
nacin
Message:

Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r19212 r19240  
    10431043        } 
    10441044 
    1045         $css_class = implode(' ', apply_filters('page_css_class', $css_class, $page)); 
     1045        $css_class = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) ); 
    10461046 
    10471047        $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_permalink($page->ID) . '">' . $link_before . apply_filters( 'the_title', $page->post_title, $page->ID ) . $link_after . '</a>'; 
Note: See TracChangeset for help on using the changeset viewer.