Reply To: Conflict with my plugin
Thanks for your reply.
So, did a little research, and Codex says:
The function [
get_current_screen] returns null if called from the admin_init hook. It should be OK to use in a later hook.
So BuddyPress could check whether the remove_signups_from_user_query method was called through the admin_init hook and return if so:
if ( ( doing_action( 'admin_init' ) ) || $this->users_page != get_current_screen()->id ) {
return;
}
This fixes the issue for me.