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_querymethod was called through the
admin_inithook and return if so:
if ( ( doing_action(…[Read more]
I wanted to integrate my plugin with BuddyPress activity stream, but a PHP notice is being thrown when BuddyPress is activated and my plugin is preforming an upgrade routine.
Not the end of the world, but I’d like to understand why, and fix it. I’m totally new to BuddyPress development.
The upgrade code just migrates some user meta to a new…[Read more]
@pauldewouters active 3 days, 1 hour ago