Skip to:
Content

BuddyPress.org

Changeset 5345


Ignore:
Timestamp:
11/22/2011 02:48:31 PM (15 years ago)
Author:
boonebgorges
Message:

Don't catch 'register' action from GET global when on wp-admin, to improve compatibility with Jetpack and other plugins. Fixes #3751

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-signup.php

    r5268 r5345  
    605605        $action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
    606606
     607        if ( is_admin() || is_network_admin() )
     608                return;
     609       
    607610        // Not at the WP core signup page and action is not register
    608611        if ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php' ) && ( 'register' != $action ) )
Note: See TracChangeset for help on using the changeset viewer.