[buddypress-trac] [BuddyPress Trac] #5333: new_blog_post activity items not deleted when blog post is deleted
buddypress-trac
noreply at wordpress.org
Thu Mar 6 21:02:25 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: has-patch commit |
------------------------------+--------------------
Comment (by boonebgorges):
In [changeset:"8073"]:
{{{
#!CommitTicketReference repository="" revision="8073"
Improved management of new_blog_post activity items at
transition_post_status
Introduces bp_blogs_catch_transition_post_status(). This function, which
replaces bp_blogs_catch_published_post(), performs a similar task -
determining
when a new blog post has been published, and recording the post in the
activity
stream - but adds a corrolary for unpublishing that deletes the activity
item.
Unit tests and deprecated function are included.
See #5333
Props henry.wright for an initial patch
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5333#comment:18>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list