#1631 closed defect (bug) (fixed)
Last active forum and topic activity shows authors' replies even when marked as spam
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Component - Replies | Keywords: | has-patch needs-testing |
Cc: | grantnorwood |
Description
When comment/post spam is caught by Akismet, those posts and comments are hidden from view appropriately, except that the author info of a reply marked as spam is still shown as the last activity for a forum or topic. The issue exists in the WordPress plugin v2.0-rc-4, but I have not tested this with a standalone instance of bbPress.
Deleting replies marked as spam from wp-admin resets the last active author info so that it is shown correctly.
Looks like we need to either not run the forum update handler upon posting if it fails Akismet, or properly exclude replies with status "spam" when calculating the forum and topic replies.
Attachments (3)
Change History (9)
#1
@
12 years ago
Are you saying this _only_ happens when deleting from the dashboard, or that you noticed it there? If the latter, are things still in correct when deleting from the frontend? This will help better track the issue.
#2
@
12 years ago
This happens when Akismet catches the topic/reply as spam.
It works correctly when you mark it as spam manually as an admin/moderator.
#3
@
12 years ago
- Keywords has-patch needs-testing added; needs-patch removed
Attached patch took more work than I thought it would, which means there is possibly a more elegant way to do this. It adds a few functions to check the published status of topics and replies, and adds some checks on the updater functions to make sure nothing is updated that shouldn't be.
#6
@
12 years ago
Thanks, John! I pulled the latest /branches/plugin down, and it looks good in my initial round of testing. Now, submitting obviously spammy topics and replies results in the spam being caught by Akismet and marked as "spam" correctly, and the topic and reply counts no longer show the spam's author info as "last active".
It indeed looks like you had to take a longer route to get this fix but I very much appreciate your work!
I apologize for being new to the workflow, though I've quickly read through the docs. I didn't see a tag for "tested-ok" or anything, but I can verify the initial issue reported seems to be fixed.
Forum page screen shot with incorrect last author displayed