[wp-trac] [WordPress Trac] #19256: Ability to mark a comment as spam from the trash
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 16 09:42:58 UTC 2011
#19256: Ability to mark a comment as spam from the trash
-------------------------+------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 2.9
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by solarissmoke):
Replying to [comment:2 nacin]:
> In this case, I went through the trash, and saw a dozen obviously spam
comments that were trashed by another editor. I wanted to report them as
spam in order to register them against Akismet, but I realized it would
not be straightforward to do.
May be worth noting here that Akismet is *very* picky about what comment
transitions it will act on (have a look at `function
akismet_transition_comment_status` in the latest version of the plugin).
The comment has to be transitioning to/from approved/awaiting moderation
(direct transition from trash will be ignored), and it has to be done by a
real user (i.e., if a plugin does the transition then it will be
ignored).
I tried to do something similar in one of my plugins - transition from
trash to awaiting moderation to spam to try and get akismet to pick it up,
but it's very messy to do, particularly because of the POST/GET
restrictions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19256#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list