From 4942a41307c136e66176e49c70d3e5c7cf1b1f72 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 15 Sep 2009 15:40:17 +0000 Subject: [PATCH] Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034 git-svn-id: http://svn.automattic.com/wordpress/trunk@11936 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index c473bdcc5..39ee504bb 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -777,7 +777,7 @@ function wp_list_pages($args = '') { $output .= ''; } - $output = apply_filters('wp_list_pages', $output); + $output = apply_filters('wp_list_pages', $output, $r); if ( $r['echo'] ) echo $output;