- Timestamp:
- 03/05/2018 01:03:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r11877 r11889 1396 1396 $friend_id = (int) $_POST['fid']; 1397 1397 1398 $user = get_user_by( 'id', $friend_id ); 1399 if ( ! $user ) { 1400 die( __( 'No member found by that ID.', 'buddypress' ) ); 1401 } 1402 1398 1403 // Trying to cancel friendship. 1399 1404 if ( 'is_friend' == BP_Friends_Friendship::check_is_friend( bp_loggedin_user_id(), $friend_id ) ) {
Note: See TracChangeset
for help on using the changeset viewer.