[wp-trac] [WordPress Trac] #11409: wp_count_comments() should be cached in a transient.

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 20:37:47 UTC 2010


#11409: wp_count_comments() should be cached in a transient.
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan       
     Type:  enhancement        |      Status:  new        
 Priority:  normal             |   Milestone:  3.0        
Component:  Optimization       |     Version:             
 Severity:  normal             |    Keywords:  needs-patch
-------------------------------+--------------------------------------------
Changes (by nacin):

  * keywords:  has-patch => needs-patch


Comment:

 We'd also need to update/clear the transient whenever the number of
 pending comments changes.

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


More information about the wp-trac mailing list