[wp-trac] Re: [WordPress Trac] #7246: Comments too quick should
return 403 not 500 error
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 24 09:09:48 GMT 2008
#7246: Comments too quick should return 403 not 500 error
------------------------------------+---------------------------------------
Reporter: trenta | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Comments | Version: 2.6
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+---------------------------------------
Changes (by DD32):
* keywords: => has-patch dev-feedback
Comment:
> attachment 7246.diff added.
* Adds a $args wp_parse_args() style arguement
* has a single 'response' value which dictates the HTTP code to be
returned, Defaults to 500
* comment flood protection function modified to return a 403 for such
operations.
--
Ticket URL: <http://trac.wordpress.org/ticket/7246#comment:13>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list