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

WordPress Trac wp-trac at lists.automattic.com
Sun May 10 12:48:19 GMT 2009


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

Comment(by Denis-de-Bernardy):

 It would depend on the purpose.

 As I understand things, its main purpose is to make sure that double
 clicking the publish comment button won't output two comments. 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.

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


More information about the wp-trac mailing list