Pass Post ID to the get_comments_number filter, props sirzooro, fixes #10705

git-svn-id: https://develop.svn.wordpress.org/trunk@11895 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-09-01 20:27:03 +00:00
parent 97bef9ee66
commit 1e1324df0e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**