diff --git a/src/bp-blogs/bp-blogs-activity.php b/src/bp-blogs/bp-blogs-activity.php
index 139d6b72f..9103a3bfa 100644
|
a
|
b
|
add_action( 'bp_blogs_remove_data_for_blog', 'bp_blogs_delete_activity_for_site' |
| 675 | 675 | * @param int $blog_id Optional. Defaults to current blog ID. |
| 676 | 676 | * @param int $user_id Optional. Defaults to the logged-in user ID. This param |
| 677 | 677 | * is currently unused in the function (but is passed to hooks). |
| | 678 | * @global wpdb $wpdb WordPress database object. |
| 678 | 679 | */ |
| 679 | 680 | function bp_blogs_remove_post( $post_id, $blog_id = 0, $user_id = 0 ) { |
| 680 | 681 | global $wpdb; |
| … |
… |
add_action( 'trashed_post_comments', 'bp_blogs_remove_activity_meta_for_trashed_ |
| 1025 | 1026 | * |
| 1026 | 1027 | * @param array $args Arguments passed from bp_parse_args() in bp_has_activities(). |
| 1027 | 1028 | * @return array $args |
| | 1029 | * |
| | 1030 | * @global wpdb $wpdb WordPress database object. |
| 1028 | 1031 | */ |
| 1029 | 1032 | function bp_blogs_new_blog_comment_query_backpat( $args ) { |
| 1030 | 1033 | global $wpdb; |
| … |
… |
add_action( 'bp_before_activity_comment', 'bp_blogs_setup_comment_loop_globals_o |
| 1203 | 1206 | * |
| 1204 | 1207 | * @param bool $retval Is activity commenting enabled for this activity entry. |
| 1205 | 1208 | * @return bool |
| | 1209 | * |
| | 1210 | * @global BP_Activity_Template $activities_template The main activity template loop class. |
| 1206 | 1211 | */ |
| 1207 | 1212 | function bp_blogs_disable_activity_commenting( $retval ) { |
| 1208 | 1213 | global $activities_template; |
| … |
… |
add_filter( 'bp_activity_can_comment_reply', 'bp_blogs_can_comment_reply', 10, 2 |
| 1334 | 1339 | * |
| 1335 | 1340 | * @param string $retval The activity comment permalink. |
| 1336 | 1341 | * @return string |
| | 1342 | * |
| | 1343 | * @global BP_Activity_Template $activities_template The main activity template loop class. |
| 1337 | 1344 | */ |
| 1338 | 1345 | function bp_blogs_activity_comment_permalink( $retval = '' ) { |
| 1339 | 1346 | global $activities_template; |