[wp-trac] Re: [WordPress Trac] #9775: Duplicate comment check is too strict

WordPress Trac wp-trac at lists.automattic.com
Sun May 10 13:15:14 GMT 2009


#9775: Duplicate comment check is too strict
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Comments      |     Version:  2.7.1         
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by scribu):

 Replying to [comment:3 Denis-de-Bernardy]:
 > As I understand things, its main purpose is to make sure that double
 clicking the publish comment button won't output two comments.

 Yes, I think that's it's main purpose too.

 Adding a unique ID for each comment, that gets passed into the comment
 form, and that expires upon the comment being saved, would easily defeat
 this (it would probably cut a lot of spam, too). The duplicate-comment
 check could then be rendered obsolete, in favor of redirecting to the
 newly published comment itself.

 The unique ID could use a mechanism similar to post-new.php that assigns a
 neggative ID to a post, before it is saved.

 Also, this plugin implements a similar technique:
 http://wordpresssupplies.com/wordpress-plugins/captcha-free/

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


More information about the wp-trac mailing list