Opened 15 months ago
Closed 13 months ago
#20123 closed defect (bug) (fixed)
"Approve" should not be a bulk action when viewing spam comments
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Comments | Version: | |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
Approve, Quick Edit, and Edit action links are all hidden on edit-comments.php?comment_status=spam. The only action links are Not Spam and Delete Permanently. These are both bulk actions, but there is also an Approve bulk action.
No word on whether it works. Probably does. It should be removed for consistency, given that Restore simply returns it to the queue.
On the Trash view, there is no Approve bulk action, only Restore and Delete Permanently.
Attachments (1)
Change History (7)
comment:1
in reply to:
↑ description
solarissmoke — 15 months ago
comment:2
russellwwest — 15 months ago
- Owner set to russellwwest
- Status changed from new to accepted
russellwwest — 15 months ago
comment:3
russellwwest — 15 months ago
- Keywords has-patch added
comment:4
imshashank — 15 months ago
- Severity changed from normal to major
the patch is working fine.... tested and verified..
Note: See
TracTickets for help on using
tickets.

Replying to nacin:
Not always - the result of hitting "Not Spam" depends on what the comment status was before it was marked as spam (using _wp_trash_meta_status).
This means that doing a bulk action of "Not Spam" can cause those comments to end up in different places (approved or pending). Maybe that's why the "Approve" action is also there? (On reflection, this doesn't make too much sense to me. I do think it's counter-intuitive that the result of hitting "Not Spam" is variable.)