[wp-trac] [WordPress Trac] #6342: Rapidly spamming/deleting comments can break "infinite river" feature on comment moderation pages

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 14 13:18:06 UTC 2011


#6342: Rapidly spamming/deleting comments can break "infinite river" feature on
comment moderation pages
----------------------------+-----------------------------
 Reporter:  markjaquith     |       Owner:  mdawaffe
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  2.5
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------------

Comment (by petervanderdoes):

 I believe the main problem of this bug has to do with your connection
 speed to the server.

 When you click, the javascript hides the comment, the request (A) is send
 to the server.
 You click another comment, the javascript hides the comment, the request
 (B) is send to the server.
 But if you have a slow connection to the server, Request (A) might not
 have finished yet and is terminate. The server won't handle the actual
 spam/delete Request (A).
 When you do this multiple times, the queue that has the overflow of
 comments is depleted and doesn't fill up because of the terminated
 requests.

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


More information about the wp-trac mailing list