mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Fix page depth, again. PRops skeltoac. fixes #2690
git-svn-id: http://svn.automattic.com/wordpress/trunk@3750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f36c6bd2be
commit
a785678283
@ -425,7 +425,7 @@ function wp_list_pages($args = '') {
|
||||
|
||||
global $wp_query;
|
||||
$current_page = $wp_query->get_queried_object_id();
|
||||
$output .= walk_page_tree($pages, $depth, $current_page, $r['show_date'], $r['date_format']);
|
||||
$output .= walk_page_tree($pages, $r['depth'], $current_page, $r['show_date'], $r['date_format']);
|
||||
|
||||
if ( $r['title_li'] )
|
||||
$output .= '</ul></li>';
|
||||
|
Loading…
Reference in New Issue
Block a user