Ticket #8892: 8892.patch
File 8892.patch, 2.9 KB (added by , 19 months ago) |
---|
-
src/bp-blogs/bp-blogs-activity.php
954 954 955 955 // Get the comment status. 956 956 $post_comment_status = wp_get_comment_status( $post_comment_id ); 957 $old_comment_status = $post_comment_status;958 957 959 958 // No need to edit the activity, as it's the activity who's updating the comment. 960 959 remove_action( 'transition_comment_status', 'bp_activity_transition_post_type_comment_status', 10 ); … … 1417 1416 $blog_comment_id = bp_activity_get_meta( $activity->id, "bp_blogs_{$post_type}_comment_id" ); 1418 1417 1419 1418 if ( ! empty( $blog_comment_id ) ) { 1420 $bp = buddypress();1421 1419 1422 1420 // Check if a comment action id is set for the parent activity. 1423 1421 $comment_action_id = bp_activity_post_type_get_tracking_arg( $parent_activity->type, 'comment_action_id' ); -
src/bp-blogs/bp-blogs-filters.php
77 77 * @return bool True to authorize the post to be published, otherwise false. 78 78 */ 79 79 function bp_blogs_post_pre_publish( $return = true, $blog_id = 0, $post_id = 0, $user_id = 0 ) { 80 $bp = buddypress();81 80 82 81 // If blog is not trackable, do not record the activity. 83 82 if ( ! bp_blogs_is_blog_trackable( $blog_id, $user_id ) ) { -
src/bp-members/classes/class-bp-members-invitation-manager.php
52 52 return false; 53 53 } 54 54 55 $inviter_ud = bp_core_get_core_userdata( $invitation->inviter_id );56 57 55 $invite_url = esc_url( 58 56 add_query_arg( 59 57 array( -
src/bp-members/classes/class-bp-members-list-table.php
366 366 return; 367 367 } 368 368 369 $profile_field_ids = array();370 371 369 // Fetch registration field data once only. 372 370 if ( ! $this->signup_field_labels ) { 373 371 $field_groups = bp_xprofile_get_groups( -
src/bp-members/classes/class-bp-members-ms-list-table.php
358 358 } 359 359 360 360 if ( bp_is_active( 'xprofile' ) ) { 361 $profile_field_ids = array();362 361 363 362 // Fetch registration field data once only. 364 363 if ( ! $this->signup_field_labels ) {