Changeset 13476
- Timestamp:
- 05/13/2023 09:19:10 AM (16 months ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r13433 r13476 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. … … 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. -
trunk/src/bp-blogs/bp-blogs-filters.php
r13436 r13476 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. … … 91 90 $sitewide_tags_blog_settings = bp_core_get_root_option( 'sitewide_tags_blog' ); 92 91 if ( ! empty( $sitewide_tags_blog_settings ) ) { 93 $st_options = maybe_unserialize( $sitewide_tags_blog_settings );92 $st_options = maybe_unserialize( $sitewide_tags_blog_settings ); 94 93 $tags_blog_id = isset( $st_options['tags_blog_id'] ) ? $st_options['tags_blog_id'] : 0; 95 94 } else { … … 105 104 * @param bool $value Current status of the sitewide tags activity. 106 105 */ 107 if ( (int) $blog_id == $tags_blog_id && apply_filters( 'bp_blogs_block_sitewide_tags_activity', true ) ) {106 if ( (int) $blog_id === $tags_blog_id && apply_filters( 'bp_blogs_block_sitewide_tags_activity', true ) ) { 108 107 return false; 109 108 } -
trunk/src/bp-members/classes/class-bp-members-invitation-manager.php
r13433 r13476 52 52 return false; 53 53 } 54 55 $inviter_ud = bp_core_get_core_userdata( $invitation->inviter_id );56 54 57 55 $invite_url = esc_url( -
trunk/src/bp-members/classes/class-bp-members-list-table.php
r13169 r13476 366 366 return; 367 367 } 368 369 $profile_field_ids = array();370 368 371 369 // Fetch registration field data once only. -
trunk/src/bp-members/classes/class-bp-members-ms-list-table.php
r13169 r13476 359 359 360 360 if ( bp_is_active( 'xprofile' ) ) { 361 $profile_field_ids = array();362 361 363 362 // Fetch registration field data once only.
Note: See TracChangeset
for help on using the changeset viewer.