Skip to:
Content

BuddyPress.org

Changeset 2385


Ignore:
Timestamp:
01/21/2010 09:31:13 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1451

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r2302 r2385  
    5757    delete_site_transient( 'theme_roots' );
    5858
     59    /* Switch the user to bp-classic if they are using the old bp-default on activation */
     60    if ( 'bp-sn-parent' == get_blog_option( BP_ROOT_BLOG, 'template' ) && 'bp-default' == get_blog_option( BP_ROOT_BLOG, 'stylesheet' ) )
     61        switch_theme( 'bp-sn-parent', 'bp-classic' );
     62
    5963    do_action( 'bp_loader_activate' );
    6064}
Note: See TracChangeset for help on using the changeset viewer.