Skip to:
Content

BuddyPress.org

Changeset 11590


Ignore:
Timestamp:
06/15/2017 04:01:02 PM (7 years ago)
Author:
offereins
Message:

Correct the message for unfriending a non-friend.

Props Oelita, AaronOfTomorrow.
Fixes #5003.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-friends/bp-friends-actions.php

    r11047 r11590  
    8383        }
    8484
    85     } elseif ( 'is_friends' == $friendship_status ) {
     85    } elseif ( 'not_friends' == $friendship_status ) {
    8686        bp_core_add_message( __( 'You are not yet friends with this user', 'buddypress' ), 'error' );
    8787    } else {
Note: See TracChangeset for help on using the changeset viewer.