Ticket #1048 (closed enhancement: fixed)
Option to "mark as spam" in notification e-mail
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit |
| Cc: |
Description
Notification e-mails offer a link to delete the comment, but not to mark it as spam. This could be very useful as new plugins or future versions of WordPress start looking at comments marked as "spam" in the database.
Attachments
Change History
comment:2
markjaquith — 6 years ago
- Status changed from new to assigned
- Reporter changed from MC_incubus to markjaquith
- Priority changed from normal to high
- Version changed from 1.5 to 2.0
- Milestone set to 2.0.1
- Owner changed from anonymous to markjaquith
We still REALLY need this. Working on a patch now!
comment:3
markjaquith — 6 years ago
- Keywords bg|has-patch added
Patch adds the following:
- link in comment notification e-mail to mark as spam
- link in comment moderation e-mail to mark as spam
- post.php changes to handle mark as spam links clicked from e-mail (maintaining yes/no and referer check)
- "Mark Comment as Spam" link on regular Manage Comments view
- JS tweaks on Manage Comments view so marking as spam fades the post
- AJAX PHP tweaks to handle marking as spam
- "Mark Checked Comments as Spam" button on comment mass edit mode
- Nice "fade" box with the "marked as spam" or "deleted" comments functionality (mass edit mode)
I also fixed the following bug:
- deletion of comment via e-mail link would lead to the "delete_comment" action being fired twice, because it was being manually called in post.php (as well as already being called in wp_delete_comment())
Please, please, please consider this for WP 2.0.1! I'll be your best friend!
comment:4
davidhouse — 6 years ago
- Keywords bg|2nd-opinion added
- Milestone changed from 2.0.1 to 2.1
I really think it's too late for big new patches. I'll give it bg|2nd-opinion though, other people feel free to change the milestone if you disagree. MarkJaquith's reasons for a 2.0.1 include:
<MarkJaquith> davidhouse: because Akismet is bundled with WP, and no one is going to mark as spam if it takes 5 clicks to do it (click the delete link, click "no," click "edit' next to comment, scroll down and click "spam", click "edit comment" <MarkJaquith> davidhouse: but you're probably right. I just really want it in, and think it's save a lot of people a lot of hassle, as well as improve Askismet's spam bank
Got some JS errors in the list manipulation which prevented the deletion fade. Haven't investigated yet.
comment:7
markjaquith — 6 years ago
I'm seeing them too... patch rot. I'll get a new one up once i figure out what's going on.
comment:8
markjaquith — 6 years ago
Ryan,
Okay, found the problem. Try this one.

