mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Pass all args to the page walker.
git-svn-id: https://develop.svn.wordpress.org/trunk@4723 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -498,10 +498,10 @@ class Walker_Page extends Walker {
|
||||
return $output;
|
||||
}
|
||||
|
||||
function start_el($output, $page, $depth, $current_page, $show_date, $date_format) {
|
||||
function start_el($output, $page, $depth, $current_page, $args) {
|
||||
if ( $depth )
|
||||
$indent = str_repeat("\t", $depth);
|
||||
|
||||
extract($args);
|
||||
$css_class = 'page_item';
|
||||
$_current_page = get_page( $current_page );
|
||||
if ( $page->ID == $current_page )
|
||||
|
||||
Reference in New Issue
Block a user