Opened 10 years ago
Closed 10 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | Blogs | Version: | 2.0 |
| Severity: | normal | 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
@
10 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
@
10 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks good