Skip to:
Content

BuddyPress.org

Changeset 6020


Ignore:
Timestamp:
05/10/2012 08:16:49 PM (14 years ago)
Author:
djpaul
Message:

Prevent possible php warning in bp_core_wpsignup_redirect function

File:
1 edited

Legend:

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

    r5987 r6020  
    12911291
    12921292        // Not at the WP core signup page and action is not register
    1293         if ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php' ) && ( 'register' != $action ) )
     1293        if ( ! empty( $_SERVER['SCRIPT_NAME'] ) && false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php' ) && ( 'register' != $action ) )
    12941294                return;
    12951295
Note: See TracChangeset for help on using the changeset viewer.