[wp-trac] [WordPress Trac] #16846: wp_dashboard_recent_comments can generate hundreds of queries

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 6 19:07:55 UTC 2011


#16846: wp_dashboard_recent_comments can generate hundreds of queries
--------------------------+---------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  3.1.1
Component:  Comments      |     Version:  3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:11 robertaccettura]:
 > Perhaps just a wp-config flag to disable this statistic?  IMHO not worth
 the slowness for what it offers.

 This ticket was specifically for the Recent Comments dashboard widget and
 fixed an inconsistency in the nested loop there when the user chooses to
 show less than 5 comments.

 If you're experiencing slowness in the comments count functions, please
 open a new one.

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


More information about the wp-trac mailing list