diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index d9394cbc2..6acc957c7 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -532,7 +532,7 @@ function get_comments_number( $post_id = 0 ) { else $count = $post->comment_count; - return apply_filters('get_comments_number', $count); + return apply_filters('get_comments_number', $count, $post_id); } /**