[wp-trac] [WordPress Trac] #14222: Improve dashboard recent comments widget performance by not fetching spam comments

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 1 14:10:23 UTC 2011


#14222: Improve dashboard recent comments widget performance by not fetching spam
comments
--------------------------------------------------+------------------
 Reporter:  Viper007Bond                          |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  3.2
Component:  Administration                        |     Version:  3.0
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-refresh dev-feedback  |
--------------------------------------------------+------------------
Changes (by westi):

 * keywords:  has-patch commit => has-patch needs-refresh dev-feedback


Comment:

 @nacin: It is not clear whether you think we should commit the .2. patch
 or you are referring to the queries in the comment from technosailor.

 Not sure why the third query checks post_status = 'spam' either?

 I think checking for comment_status != 'spam' is the best fix but it needs
 some explain'ing to check.

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


More information about the wp-trac mailing list