[buddypress-trac] [BuddyPress Trac] #5333: new_blog_post activity items not deleted when blog post is deleted
buddypress-trac
noreply at wordpress.org
Fri Mar 28 23:01:09 UTC 2014
#5333: new_blog_post activity items not deleted when blog post is deleted
--------------------------+--------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.0
Component: Activity | Version: 1.9.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+--------------------
Comment (by r-a-y):
In [changeset:"8191"]:
{{{
#!CommitTicketReference repository="" revision="8191"
Blogs: Tweak what happens when a post status is changed.
r8073 introduced bp_blogs_catch_transition_post_status() to determine
how blog posts are recorded in the activity stream. However, blog
post edits are not accounted for.
This commit:
- Updates a blog post's activity item when a post is edited
- Mirrors a blog post's comment status to activitymeta for use with
bp_blogs_comments_open() (see r8189)
- Removes the usage of bp_blogs_record_post() when a post has changed to
an unpublished status. bp_blogs_record_post() already fires on the
'delete_post' action, so this isn't necessary. Instead, we remove the
corresponding activity entry.
See #5333, #5130
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5333#comment:20>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list