Skip to:
Content

BuddyPress.org

Changeset 4961 for trunk/bp-loader.php


Ignore:
Timestamp:
08/10/2011 06:32:02 AM (14 years ago)
Author:
djpaul
Message:

Tidy up whitespace. Fixes #3466, props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r4926 r4961  
    3131// Define on which blog ID BuddyPress should run
    3232if ( !defined( 'BP_ROOT_BLOG' ) ) {
    33    
     33
    3434    // Root blog is the main site on this network
    3535    if ( is_multisite() && !defined( 'BP_ENABLE_MULTIBLOG' ) ) {
    3636        $current_site = get_current_site();
    3737        $root_blog_id = $current_site->blog_id;
    38        
     38
    3939    // Root blog is every site on this network
    4040    } elseif ( is_multisite() && defined( 'BP_ENABLE_MULTIBLOG' ) ) {
    4141        $root_blog_id = get_current_blog_id();
    42        
     42
    4343    // Root blog is the only blog on this network
    4444    } elseif( !is_multisite() ) {
     
    9898if ( !function_exists( 'bp_loader_activate' ) ) :
    9999/**
    100  * Defines BP's activation routine. 
    101  * 
    102  * Most of BP's crucial setup is handled by the setup wizard. This function takes care of some 
    103  * issues with incompatible legacy themes, and provides a hook for other functions to know that 
    104  * BP has been activated. 
    105  * 
    106  * @package BuddyPress Core 
    107 */ 
     100 * Defines BP's activation routine.
     101 *
     102 * Most of BP's crucial setup is handled by the setup wizard. This function takes care of some
     103 * issues with incompatible legacy themes, and provides a hook for other functions to know that
     104 * BP has been activated.
     105 *
     106 * @package BuddyPress Core
     107*/
    108108function bp_loader_activate() {
    109109    // Force refresh theme roots.
Note: See TracChangeset for help on using the changeset viewer.