[wp-trac] [WordPress Trac] #19372: Don't call wp_count_comments() when we don't need to

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 27 17:27:10 UTC 2011


#19372: Don't call wp_count_comments() when we don't need to
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Performance  |     Version:  3.2
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by scribu):

 I think 'moderate_comments' would be a more appropriate capability to
 check. Related: #12104

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


More information about the wp-trac mailing list