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
This commit is contained in:
Ryan Boren 2009-09-15 15:40:17 +00:00
parent 8a4019bb28
commit 9ed83818a6
1 changed files with 1 additions and 1 deletions

View File

@ -777,7 +777,7 @@ function wp_list_pages($args = '') {
$output .= '</ul></li>';
}
$output = apply_filters('wp_list_pages', $output);
$output = apply_filters('wp_list_pages', $output, $r);
if ( $r['echo'] )
echo $output;