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

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 12 16:50:41 UTC 2009


#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:  Cache              |     Version:      
 Severity:  normal             |    Keywords:      
-------------------------------+--------------------------------------------
 wp_count_comments() gets called on every admin page. It's not a super
 expensive on, but it probably belongs in a transient that gets updated
 whenever the number of pending comment changes.

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


More information about the wp-trac mailing list