Skip to:
Content

BuddyPress.org

Changeset 6190 for trunk/bp-loader.php


Ignore:
Timestamp:
07/20/2012 08:42:24 PM (14 years ago)
Author:
boonebgorges
Message:

Whitespace cleanup in bp-loader.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r6170 r6190  
    4343         * Most of them have reference functions located in bp-core-functions.php.
    4444         * The ones that don't can be accessed via their respective WordPress API's.
    45          * 
     45         *
    4646         * Components are encouraged to store their data in the $bp global rather
    4747         * than new globals to keep all BuddyPress data in one place.
     
    5959         */
    6060        public $db_version = 6066;
    61        
     61
    6262        /**
    6363         * @var int Database version raw from database connection
    6464         */
    6565        public $db_version_raw = 0;
    66        
     66
    6767        /**
    6868         * @var string State of BuddyPress installation
     
    137137
    138138        /** Navigation ************************************************************/
    139        
     139
    140140        /**
    141141         * @var array Primary BuddyPress navigation
     
    173173         */
    174174        public $no_status_set = false;
    175        
     175
    176176        /**
    177177         * @var array The canonical URI stack
     
    236236        /**
    237237         * Legacy BuddyPress constants
    238          * 
     238         *
    239239         * Try to avoid using these. Their values have been moved into variables
    240240         * in the $bp global, and have matching functions to get/set their value.
     
    268268                        // Default to 1
    269269                        $root_blog_id = 1;
    270                        
     270
    271271                        // Root blog is the main site on this network
    272272                        if ( is_multisite() && !defined( 'BP_ENABLE_MULTIBLOG' ) ) {
     
    301301                // @todo Make this better
    302302                if ( !defined( 'BP_SEARCH_SLUG' ) )
    303                         define( 'BP_SEARCH_SLUG', 'search' );   
     303                        define( 'BP_SEARCH_SLUG', 'search' );
    304304        }
    305305
     
    337337
    338338                /** Users *************************************************************/
    339                
     339
    340340                $this->current_user       = new stdClass();
    341341                $this->displayed_user     = new stdClass();
     
    425425                        require( $this->plugin_dir . 'bp-core/bp-core-moderation.php' );
    426426                        require( $this->plugin_dir . 'bp-core/bp-core-loader.php'     );
    427        
     427
    428428                        // Skip or load deprecated content
    429429                        if ( false !== $this->load_deprecated ) {
     
    431431                                require( $this->plugin_dir . 'bp-core/deprecated/1.6.php' );
    432432                        }
    433                 }               
     433                }
    434434        }
    435435
     
    470470                foreach( $actions as $class_action )
    471471                        add_action( 'bp_' . $class_action, array( $this, $class_action ), 5 );
    472                
     472
    473473                // Setup the BuddyPress theme directory
    474474                register_theme_directory( $this->themes_dir );
Note: See TracChangeset for help on using the changeset viewer.