Opened 18 years ago
Closed 18 years ago
#3175 closed enhancement (fixed)
Allow plugins to alter comment flood behavior
Reported by: | markjaquith | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 2.1 | Priority: | low |
Severity: | minor | Version: | 2.0.4 |
Component: | General | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Patch for /trunk/