Skip to:
Content

BuddyPress.org

Ticket #7221: 7221.01.patch

File 7221.01.patch, 564 bytes (added by r-a-y, 4 years ago)
  • src/bp-friends/bp-friends-actions.php

     
    5252
    5353        return false;
    5454}
    55 add_action( 'bp_init', 'friends_action_add_friend' );
     55add_action( 'bp_actions', 'friends_action_add_friend' );
    5656
    5757/**
    5858 * Catch and process Remove Friendship requests.
     
    9292
    9393        return false;
    9494}
    95 add_action( 'bp_init', 'friends_action_remove_friend' );
     95add_action( 'bp_actions', 'friends_action_remove_friend' );