Re: Some questions about BuddyPress friendships
I don’t think the problem is the number of queries actually…
I did a print_r over the $wpdb and the last query done after my call to friends_check_friendship_status is
SELECT id, is_confirmed FROM wp_bp_friends WHERE (initiator_user_id = 0 AND friend_user_id = 0) OR (initiator_user_id = 0 AND friend_user_id = 0)
Which is pretty strange since I am SURE 100% I pass some real ids to the function.
Any ideas?