mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 21:28:02 +01:00
Fix page depth, again. PRops skeltoac. fixes #2690
git-svn-id: https://develop.svn.wordpress.org/trunk@3750 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cf70770e24
commit
aa850594af
@ -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…
x
Reference in New Issue
Block a user