[wp-trac] [WordPress Trac] #19903: wp_count_comments() and get_comments_count() both do SQL queries

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 27 01:52:22 UTC 2012


#19903: wp_count_comments() and get_comments_count() both do SQL queries
-------------------------+--------------------
 Reporter:  markjaquith  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.4
Component:  Comments     |     Version:  3.3.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------

Comment (by nacin):

 Could the deprecated version become a wrapper for wp_count_comments()?
 We'd simply need to rename the returned array keys.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19903#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list