Have wp_count_comments() support per post counts and total comments number
|Reported by:||josephscott||Owned by:|
The function wp_count_comments() currently only counts all of the comments in a blog. The included patch allows it to optionally do comment counts on a per post basis. It also adds a total_count field.
After this get_comment_count() can be deprecated.