Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @pauldewouters

    Participant

    ah, what’s the earliest supported version? Answer: 3.6 or higher

    @pauldewouters

    Participant

    @pauldewouters

    Participant

    Hey Paul,

    Thanks, I’ll open a trac ticket

    @pauldewouters

    Participant

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar