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:
ryan 2006-04-25 00:05:59 +00:00
parent f36c6bd2be
commit a785678283

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