Opened 20 years ago
Closed 20 years ago
#3175 closed enhancement (fixed)
Allow plugins to alter comment flood behavior
| Reported by: | markjaquith | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | low | Milestone: | 2.1 |
| Component: | General | Version: | 2.0.4 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for /trunk/