Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/14/2011 01:36:19 PM (15 years ago)
Author:
boonebgorges
Message:

Keeps bp-default from loading during MS upgrade process. Fixes #3015. Refactors parts of the upgrade wizard to make MS upgrades recognize previous installations of BP. Refactors parts of the upgrade wizard to use bp-active-components rather than the deprecated bp-deactivated-components. Ensures that MS upgrades are seen as upgrades rather than new installations.

File:
1 edited

Legend:

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

    r4183 r4203  
    256256        // On multisite installs, don't log on a non-root blog
    257257        if ( !bp_is_root_blog() )
     258                return;
     259               
     260        // Don't show these messages during setup or upgrade
     261        if ( isset( $bp->maintenence_mode ) )
    258262                return;
    259263
    … …  
    942946function bp_core_add_root_component( $slug ) {
    943947        global $bp;
    944 
     948       
    945949        if ( empty( $bp->pages ) )
    946950                $bp->pages = bp_core_get_page_names();
Note: See TracChangeset for help on using the changeset viewer.