Re: using friends_check_friendship
I know it’s only been one day, but here are some updates to what I’ve done to troubleshoot the problem.
1) I placed an echo within the function friends_check_friendship that tells me what was returned and also tells me what the ID’s are for the two users being compared.
This verified that I am passing correct data in and I am getting back ‘not_friend’ however when I go to the wire page, the same data goes in and I get back ‘is_friend’ so for some reason when calling this function from the wp-includesquery.php I am not getting back the correct data. I have also tried adding the following:
require_once (./wp-content/mu-plugins/bp-core.php);
include_once (./wp-content/mu-plugins/bp-friends/bp-friends-ajax.php); <- and all files in this folder, just like at the top of bp-friends.php
Does ANYONE have a clue why this isn’t working?