Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/04/2011 07:05:24 PM (14 years ago)
Author:
boonebgorges
Message:

Ensures that BP theme directory is registered during the BP install wizard early enough to let bp-default be activated during installation.

File:
1 edited

Legend:

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

    r5440 r5441  
    10691069
    10701070    function step_theme_save() {
     1071        global $bp;
     1072       
    10711073        if ( isset( $_POST['submit'] ) && isset( $_POST['theme'] ) ) {
    10721074            check_admin_referer( 'bpwizard_theme' );
     
    10791081                // Activate the bp-default theme
    10801082                case 'bp_default' :
     1083                    register_theme_directory( $bp->themes_dir );
    10811084                    switch_theme( 'bp-default', 'bp-default' );
    10821085                    break;
Note: See TracChangeset for help on using the changeset viewer.