#6884 closed enhancement (fixed)
Have wp_count_comments() support per post counts and total comments number
Reported by: | josephscott | Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [7868]) Add per post counting to wp_count_comments(). Props josephscott. fixes #6884