#2699 closed defect (bug) (fixed)
wordpress blog spam comments are showing up in buddypress activity stream
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | blog comment activity |
Cc: |
Description
There's a topic on this in the buddypress.org troubleshooting forum.(1)
WordPress blog comments that are auto-spammed (from the comment-blacklist under discussion settings), are showing up in the activity stream.
I think the problem lies in this: buddypress checks the comment's approval status in bp_blogs_record_comment(), (see changeset [3153]), but BP treats the value as a boolean. However, the wp function 'wp_allow_comment' which sets the comment_approved field has three return values: 0,1, and 'spam', and the boolean value of the string 'spam' is true.
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [3332]) Stop spam comments appearing in activity stream. Fixes #2699, props bizybee (trunk)