Skip to:
Content

BuddyPress.org

Changeset 5659


Ignore:
Timestamp:
01/27/2012 09:31:43 PM (13 years ago)
Author:
boonebgorges
Message:

Fixes PHP errors during installation process.
Ensures that bp_is_active() exists before redirecting upon the last step of the installation wizard.
Bails from bp_core_record_activity() when an update is in progress.
Fixes #3682.

Location:
trunk/bp-core
Files:
2 edited

Legend:

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

    r5656 r5659  
    11561156            // Load BP and hook the admin menu, so that the redirect is successful
    11571157            require_once( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-admin.php' );
     1158            require_once( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-template.php' );
    11581159            bp_admin();
    11591160
  • trunk/bp-core/bp-core-functions.php

    r5524 r5659  
    497497
    498498    if ( !is_user_logged_in() )
     499        return false;
     500       
     501    if ( bp_is_update() )
    499502        return false;
    500503
Note: See TracChangeset for help on using the changeset viewer.