Changeset 13336 for trunk/src/bp-friends/bp-friends-template.php
- Timestamp:
- 10/06/2022 10:14:05 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-template.php
r13301 r13336 570 570 global $members_template; 571 571 572 if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id()) ) {572 if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), 'bp' ) ) { 573 573 $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() ); 574 574 wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' ); … … 605 605 global $members_template; 606 606 607 if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id()) ) {607 if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), 'bp' ) ) { 608 608 $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() ); 609 609 wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' ); … … 642 642 global $members_template; 643 643 644 if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id()) ) {644 if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), 'bp' ) ) { 645 645 $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() ); 646 646 wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
Note: See TracChangeset
for help on using the changeset viewer.