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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-09-01 20:27:03 +00:00
parent c590b49f45
commit 0c521408ba
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);
}
/**