Skip to:
Content

BuddyPress.org

Ticket #3585: 3585.diff

File 3585.diff, 1.2 KB (added by wpmuguru, 15 years ago)
  • bp-loader.php

     
    6060        define( 'BP_SEARCH_SLUG', 'search' );
    6161
    6262// Setup the BuddyPress theme directory
    63 register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
     63register_theme_directory( BP_PLUGIN_DIR . '/bp-themes' );
    6464
    6565/** Loader ********************************************************************/
    6666
     
    7979// This is a new installation.
    8080if ( empty( $bp->database_version ) ) {
    8181        $bp->maintenance_mode = 'install';
    82         require( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-update.php' );
     82        require( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' );
    8383
    8484// There is a previous installation
    8585} else {
    8686        // Load core
    87         require( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-loader.php' );
     87        require( BP_PLUGIN_DIR . '/bp-core/bp-core-loader.php' );
    8888
    8989        // Check if an update is required
    9090        if ( (int)$bp->database_version < (int)constant( 'BP_DB_VERSION' ) || isset( $bp->is_network_activate ) ) {
    9191                $bp->maintenance_mode = 'update';
    92                 require( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-update.php' );
     92                require( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' );
    9393        }
    9494}
    9595