Opened 16 years ago
Closed 16 years ago
#12188 closed enhancement (fixed)
Add filters to duplicate comment message and comment flood message
| Reported by: | jeffstieler | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Comments | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Pretty self explanatory..
Attachments (1)
Change History (5)
#3
@
16 years ago
- Owner set to
- Status new → accepted
Okay, +1 was with some caveats. You can already hypothetically filter the text itself with the gettext filter.
There is already an action, comment_flood_trigger, which is executed before the die()/wp_die() in the flood message. I'm adding a comment_duplicate_trigger as a complement.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
+1, though I think it would be better as an action instead, just before the DOING_AJAX check. That way, you can die with your own message, or perhaps do something else, like redirect back to the post and show a message of your own.