Skip to:
Content

BuddyPress.org

Changeset 5725


Ignore:
Timestamp:
02/11/2012 08:52:21 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Always register the BuddyPress theme directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r5721 r5725  
    485485        if ( empty( $this->maintenance_mode ) ) {
    486486
    487             // Setup the BuddyPress theme directory
    488             register_theme_directory( $this->themes_dir );
    489            
    490487            // Require all of the BuddyPress core libraries
    491488            require( $this->plugin_dir . 'bp-core/bp-core-caps.php'       );
     
    552549        foreach( $actions as $class_action )
    553550            add_action( 'bp_' . $class_action, array( $this, $class_action ), 5 );
     551       
     552        // Setup the BuddyPress theme directory
     553        register_theme_directory( $this->themes_dir );
    554554    }
    555555}
Note: See TracChangeset for help on using the changeset viewer.