Skip to:
Content

BuddyPress.org

Changeset 5807


Ignore:
Timestamp:
02/18/2012 01:51:14 PM (14 years ago)
Author:
djpaul
Message:

Backport r5345 from trunk to 1.5 branch. Don't catch 'register' action from GET global when on wp-admin. Fixes #3751 again.

Location:
branches/1.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5

    • Property svn:mergeinfo changed
      /trunkmerged: 5345
  • branches/1.5/bp-members/bp-members-signup.php

    r5269 r5807  
    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.