[buddypress-trac] [BuddyPress Trac] #5333: new_blog_post activity items not deleted when blog post is deleted

buddypress-trac noreply at wordpress.org
Tue Jan 14 11:04:56 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 henry.wright):

 Please find the attached patch.

 I've hooked {{{bp_blogs_remove_post}}} to {{{trashed_post}}} so that
 activity items are deleted from the activity stream when a post is
 trashed.

 {{{bp_blogs_catch_published_post}}} will detect if a user decides to
 untrash the post and will handle the creation of a new activity entry.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5333#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list