Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #5130, comment 34


Ignore:
Timestamp:
03/28/2014 08:03:56 PM (12 years ago)
Author:
r-a-y

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5130, comment 34

    initial v1  
    55In particular, the changes are:
    66
    7 - `bp_blogs_catch_transition_post_status()` now only deletes the blog post's activity item (and therefore any activity children automatically).  It doesn't use `bp_blogs_remove_post()` since that function already runs on the `'record_post'` hook.  Post comments are left intact.
     7- `bp_blogs_catch_transition_post_status()` now only deletes the blog post's activity item (and therefore any activity children automatically).  It doesn't use `bp_blogs_remove_post()` since that function already runs on the `'delete_post'` hook.  Post comments are left intact.
    88
    99- `bp_blogs_remove_activity_meta_for_trashed_comments()` is new and deletes the associated comment meta key since the activity item no longer exists when trashed.