Changeset 6190 for trunk/bp-loader.php
- Timestamp:
- 07/20/2012 08:42:24 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-loader.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-loader.php
r6170 r6190 43 43 * Most of them have reference functions located in bp-core-functions.php. 44 44 * The ones that don't can be accessed via their respective WordPress API's. 45 * 45 * 46 46 * Components are encouraged to store their data in the $bp global rather 47 47 * than new globals to keep all BuddyPress data in one place. … … 59 59 */ 60 60 public $db_version = 6066; 61 61 62 62 /** 63 63 * @var int Database version raw from database connection 64 64 */ 65 65 public $db_version_raw = 0; 66 66 67 67 /** 68 68 * @var string State of BuddyPress installation … … 137 137 138 138 /** Navigation ************************************************************/ 139 139 140 140 /** 141 141 * @var array Primary BuddyPress navigation … … 173 173 */ 174 174 public $no_status_set = false; 175 175 176 176 /** 177 177 * @var array The canonical URI stack … … 236 236 /** 237 237 * Legacy BuddyPress constants 238 * 238 * 239 239 * Try to avoid using these. Their values have been moved into variables 240 240 * in the $bp global, and have matching functions to get/set their value. … … 268 268 // Default to 1 269 269 $root_blog_id = 1; 270 270 271 271 // Root blog is the main site on this network 272 272 if ( is_multisite() && !defined( 'BP_ENABLE_MULTIBLOG' ) ) { … … 301 301 // @todo Make this better 302 302 if ( !defined( 'BP_SEARCH_SLUG' ) ) 303 define( 'BP_SEARCH_SLUG', 'search' ); 303 define( 'BP_SEARCH_SLUG', 'search' ); 304 304 } 305 305 … … 337 337 338 338 /** Users *************************************************************/ 339 339 340 340 $this->current_user = new stdClass(); 341 341 $this->displayed_user = new stdClass(); … … 425 425 require( $this->plugin_dir . 'bp-core/bp-core-moderation.php' ); 426 426 require( $this->plugin_dir . 'bp-core/bp-core-loader.php' ); 427 427 428 428 // Skip or load deprecated content 429 429 if ( false !== $this->load_deprecated ) { … … 431 431 require( $this->plugin_dir . 'bp-core/deprecated/1.6.php' ); 432 432 } 433 } 433 } 434 434 } 435 435 … … 470 470 foreach( $actions as $class_action ) 471 471 add_action( 'bp_' . $class_action, array( $this, $class_action ), 5 ); 472 472 473 473 // Setup the BuddyPress theme directory 474 474 register_theme_directory( $this->themes_dir );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)