Skip to:
Content

BuddyPress.org

Ticket #5003: patch5003.diff

File patch5003.diff, 1.3 KB (added by Oelita, 8 years ago)
  • src/bp-friends/bp-friends-actions.php

    diff --git a/src/bp-friends/bp-friends-actions.php b/src/bp-friends/bp-friends-actions.php
    index 172b15926..2fb94eadc 100644
    a b function friends_action_remove_friend() { 
    8282                        bp_core_add_message( __( 'Friendship canceled', 'buddypress' ) );
    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 {
    8888                bp_core_add_message( __( 'You have a pending friendship request with this user', 'buddypress' ), 'error' );