Skip to:
Content

bbPress.org

Opened 7 weeks ago

Last modified 7 weeks ago

#3434 new defect

Akismet catches spam for moderator, but moderators are able to bypass spam

Reported by: r-a-y Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 2.0
Component: Extend - Akismet Keywords: dev-feedback
Cc:

Description

In the Akismet module, moderators are able to bypass Akismet checks:
https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L205-L211

However, if Akismet catches a post written by a moderator as spam, the following is listed in the "Akismet History" metabox with two entries:

  • Akismet caught this post as spam.
  • Post status was changed to publish.

See:
https://github.com/bbpress/bbPress/blob/09313c9984c55429f3e664ca4383768b68ee34b9/src/includes/extend/akismet.php#L578-L599

Perhaps changing the second log entry from "Post status was changed to publish" to "Akismet spam check overruled. Post status was published because user is a moderator" would be more clear and appropriate.

Change History (1)

#1 @r-a-y
7 weeks ago

  • Component changed from General to Extend - Akismet
Note: See TracTickets for help on using tickets.