Skip to:
Content

BuddyPress.org

Changeset 4915


Ignore:
Timestamp:
07/31/2011 01:00:22 PM (11 years ago)
Author:
djpaul
Message:

Fix login redirect handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r4907 r4915  
    134134
    135135    // If the redirect doesn't contain 'wp-admin', it's OK
    136     if ( isset( $_REQUEST['redirect_to'] ) && false === strpos( $_REQUEST['redirect_to'], 'wp-admin' ) )
     136    if ( !empty( $_REQUEST['redirect_to'] ) && false === strpos( $_REQUEST['redirect_to'], 'wp-admin' ) )
    137137        return $redirect_to;
    138138
Note: See TracChangeset for help on using the changeset viewer.