[wp-trac] [WordPress Trac] #3175: Allow plugins to alter comment flood behavior

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 28 08:00:06 GMT 2006


#3175: Allow plugins to alter comment flood behavior
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |       Owner:  anonymous
     Type:  defect       |      Status:  new      
 Priority:  low          |   Milestone:  2.1      
Component:  General      |     Version:  2.0.4    
 Severity:  minor        |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 Currently, the 15 second rule for comment posting is rigidly coded.  You
 can decide what happens before the die(), but it's always 15 seconds, and
 you can't stop the die().

 The patch I'm uploading converts the 15 second rule to a filter, and
 creates a new filter.  Plugins can hook in, examine the time difference,
 and make their own block decision.

 Default behavior isn't changed, it just allows people to circumvent it.

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


More information about the wp-trac mailing list