[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 Jul 7 02:49:23 UTC 2010


#14222: Improve dashboard recent comments widget performance by not fetching spam
comments
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |       Owner:                         
     Type:  defect (bug)    |      Status:  new                    
 Priority:  normal          |   Milestone:  Awaiting Review        
Component:  Administration  |     Version:  3.0                    
 Severity:  normal          |    Keywords:  has-patch needs-testing
----------------------------+-----------------------------------------------
 Currently we fetch spam comments and exclude them using PHP. It's much
 better to just not fetch them in the the first place.

 If a blog has a TON of spam comments for example, the `while()` will take
 quite a long time to find enough legit comments.

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


More information about the wp-trac mailing list