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;