From 9ed83818a682e06b982c6f8f1dece4bcab89cb35 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11936 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 c473bdcc59..39ee504bb0 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;