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

WordPress Trac noreply at wordpress.org
Mon Aug 31 18:51:02 UTC 2015


#19903: wp_count_comments() and get_comments_count() both do SQL queries
-------------------------+-----------------------------
 Reporter:  markjaquith  |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.4
Component:  Comments     |     Version:  3.3.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"33823"]:
 {{{
 #!CommitTicketReference repository="" revision="33823"
 After [33822], really add those unit tests for `wp_count_comments()`.

 See #19903.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19903#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list