[wp-trac] [WordPress Trac] #6884: Have wp_count_comments() support
per post counts and total comments number
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 30 23:44:29 GMT 2008
#6884: Have wp_count_comments() support per post counts and total comments number
-------------------------+--------------------------------------------------
Reporter: josephscott | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/6884>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list