| 1 | Index: wp-includes/template-functions-post.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/template-functions-post.php (revision 3749) |
|---|
| 4 | +++ wp-includes/template-functions-post.php (working copy) |
|---|
| 5 | @@ -425,7 +425,7 @@ |
|---|
| 6 | |
|---|
| 7 | global $wp_query; |
|---|
| 8 | $current_page = $wp_query->get_queried_object_id(); |
|---|
| 9 | - $output .= walk_page_tree($pages, $depth, $current_page, $r['show_date'], $r['date_format']); |
|---|
| 10 | + $output .= walk_page_tree($pages, $r['depth'], $current_page, $r['show_date'], $r['date_format']); |
|---|
| 11 | |
|---|
| 12 | if ( $r['title_li'] ) |
|---|
| 13 | $output .= '</ul></li>'; |
|---|