Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-loader.php

    r5170 r5241  
    55 * Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
    66 * Author:      The BuddyPress Community
    7  * Version:     1.5
     7 * Version:     1.5.1
    88 * Author URI:  http://buddypress.org/community/members/
    99 * Network:     true
     
    1818// Define the BuddyPress version
    1919if ( !defined( 'BP_VERSION' ) )
    20     define( 'BP_VERSION', '1.5' );
     20    define( 'BP_VERSION', '1.5.1' );
    2121
    2222// Define the database version
     
    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 ********************************************************************/
     
    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}
Note: See TracChangeset for help on using the changeset viewer.