mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-30 20:21:37 +01:00
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
This commit is contained in:
parent
eccd75e38c
commit
4942a41307
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user