Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/27/2012 09:35:32 PM (12 years ago)
Author:
boonebgorges
Message:

Do a better job of detecting when an upgrade is taking place, so as not to load multiple instances of the BuddyPress top-level menu before the installation wizard is run.
Fixes #3964

File:
1 edited

Legend:

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

    r5656 r5660  
    176176        // Don't add this version of the admin menu if a BP upgrade is in progress.
    177177        // @see bp_core_update_add_admin_menu().
    178         if ( defined( 'BP_IS_UPGRADE' ) && BP_IS_UPGRADE )
     178        if ( bp_is_update() || ( defined( 'BP_IS_UPGRADE' ) && BP_IS_UPGRADE ) )
    179179            return;
    180180
Note: See TracChangeset for help on using the changeset viewer.