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

buddypress-trac noreply at wordpress.org
Mon Jan 13 14:07:01 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:                |
--------------------------+--------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 2.0


Comment:

 > add_action( 'delete_post', 'bp_blogs_remove_post' ); fires for 'deleted'
 posts. Just doesn't seem to be a hook that fires for 'trashed' posts.

 Ah, if that's true, then it should definitely be fixed. We should think
 about hooking to 'transition_post_type' instead.

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


More information about the buddypress-trac mailing list