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:
Ryan Boren 2006-04-25 00:05:59 +00:00
parent cf70770e24
commit aa850594af
1 changed files with 1 additions and 1 deletions

View File

@ -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>';