Skip to:
Content

BuddyPress.org

Changeset 9359


Ignore:
Timestamp:
01/15/2015 08:16:44 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Fix typo in $GLOBALS usage in bp_stop_live_spammer().

File:
1 edited

Legend:

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

    r9351 r9359  
    23922392    // if we're on the login page, stop now to prevent redirect loop
    23932393    $is_login = false;
    2394     if ( isset( $_GLOBALS['pagenow'] ) && false !== strpos( $GLOBALS['pagenow'], 'wp-login.php' ) ) {
     2394    if ( isset( $GLOBALS['pagenow'] ) && ( false !== strpos( $GLOBALS['pagenow'], 'wp-login.php' ) ) ) {
    23952395        $is_login = true;
    23962396    } elseif ( isset( $_SERVER['SCRIPT_NAME'] ) && false !== strpos( $_SERVER['SCRIPT_NAME'], 'wp-login.php' ) ) {
Note: See TracChangeset for help on using the changeset viewer.