Opened 8 years ago
Closed 8 years ago
#7107 closed defect (bug) (fixed)
Spammed activity comment is cross-posted to a WP post as a regular comment
Reported by: | r-a-y | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.0 |
Component: | Blogs | Keywords: | has-patch commit |
Cc: |
Description
In testing #6719, @hnla found that if activity post synchronization is on, spammed activity comments are cross-posted as regular WP post comments.
We probably should not create a WP post comment if the activity comment is marked as spam.
Attached patch includes a fix for this and a unit test.
Attachments (1)
Change History (7)
#2
@
8 years ago
- Keywords commit removed
i'd say the patch looks good, but at the same time i think spam is also used when a comment or post is trashed...
#4
@
8 years ago
but at the same time i think spam is also used when a comment or post is trashed...
I think this makes sense if a user is posting a WordPress comment. This patch doesn't touch that.
When a user posts from within the BuddyPress activity stream, we control what happens before we decide to sync a comment to a WordPress post.
Looks good