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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 5 16:13:29 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     |
--------------------------+---------------------
Changes (by robertaccettura):

 * cc: robert@… (added)


Comment:

 I've been having this problem for a while.  On 3.1.1 I don't see any real
 improvement.  23,104 comments reported (and that's how many I see in
 wp_comments, so I presume that includes spam, which IMHO is another bug in
 regards to comment count).

 Perhaps just a wp-config flag to disable this statistic?  IMHO not worth
 the slowness for what it offers.

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


More information about the wp-trac mailing list