Skip to:
Content

BuddyPress.org

Changeset 5404


Ignore:
Timestamp:
11/28/2011 03:13:04 PM (13 years ago)
Author:
boonebgorges
Message:

Switch maintenance_mode check to empty() so that it's not thrown off by an empty string

File:
1 edited

Legend:

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

    r5355 r5404  
    401401
    402402    // Don't show these messages during setup or upgrade
    403     if ( isset( $bp->maintenance_mode ) )
     403    if ( !empty( $bp->maintenance_mode ) )
    404404        return;
    405405
Note: See TracChangeset for help on using the changeset viewer.