Changes between Initial Version and Version 1 of Ticket #5130, comment 14
- Timestamp:
- 03/17/2014 09:56:35 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5130, comment 14
initial v1 15 15 16 16 I've also had to change a few things: 17 - Activity deletion callback now uses the 'bp_activity_delete_comment_pre' filter instead of the bp_activity_delete_comment' action because I need access to the activity comment children. 'bp_activity_delete_comment'is too late.17 - Activity deletion callback now uses the `'bp_activity_delete_comment_pre'` filter instead of the bp_activity_delete_comment' action because I need access to the activity comment children. `'bp_activity_delete_comment'` is too late. 18 18 19 - Added utility function - bp_activity_recurse_comments_activity_ids() - to grab the activityIDs for an activity item19 - Added utility function - `bp_activity_recurse_comments_activity_ids()` - to grab the activity comment IDs for an activity item 20 20 21 - Added utility function - bp_blogs_remove_associated_blog_comments()- When an array of activity IDs are passed, this will try and find the blog comments that have an associated activity entry. If there are matches, the blog comments are removed.21 - Added utility function - `bp_blogs_remove_associated_blog_comments()` - When an array of activity IDs are passed, this will try and find the blog comments that have an associated activity entry. If there are matches, the blog comments are removed. 22 22 23 23 __2) Checking the blog's threaded comment depth setting__ … … 35 35 My previous patch did not account for setting up the temporary globals when AJAX was used. 36 36 37 This is now remedied in the new bp_blogs_setup_activity_loop_globals() and bp_blogs_setup_comment_loop_globals_on_ajax() functions. 37 This is now remedied in the new `bp_blogs_setup_activity_loop_globals()` and `bp_blogs_setup_comment_loop_globals_on_ajax()` functions. 38 39 Perhaps we should look into caching the blog's threaded depth and the post's comment status options ourselves instead of using the singleton-stuffing method in this patch. 38 40 39 41 Feedback welcome.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)