Pass all args to the page walker.

git-svn-id: https://develop.svn.wordpress.org/trunk@4723 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-01-12 03:54:22 +00:00
parent b232f9b7c4
commit b9719b9a71
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ function wp_list_pages($args = '') {
global $wp_query;
$current_page = $wp_query->get_queried_object_id();
$output .= walk_page_tree($pages, $r['depth'], $current_page, $r['show_date'], $r['date_format']);
$output .= walk_page_tree($pages, $r['depth'], $current_page, $r);
if ( $r['title_li'] )
$output .= '</ul></li>';