Skip to:
Content

BuddyPress.org

Changeset 4437


Ignore:
Timestamp:
05/29/2011 10:36:32 AM (15 years ago)
Author:
djpaul
Message:

Obey BP_ROOT_BLOG if it is set prior to plugin installation.

File:
1 edited

Legend:

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

    r4400 r4437  
    946946                        check_admin_referer( 'bpwizard_theme' );
    947947
     948                        if ( is_multisite() && BP_ROOT_BLOG != get_current_blog_id() )
     949                                switch_to_blog( BP_ROOT_BLOG );
     950
    948951                        switch ( $_POST['theme'] ) {
    949952
     
    981984                                        break;
    982985                        }
     986
     987                        if ( is_multisite() )
     988                                restore_current_blog();
    983989
    984990                        return true;
Note: See TracChangeset for help on using the changeset viewer.