Changeset 10146
- Timestamp:
- 09/27/2015 05:03:05 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-loader.php
r10010 r10146 32 32 * Tap tap tap... Is this thing on? 33 33 * 34 * @since BuddyPress (1.6.0)34 * @since 1.6.0 35 35 */ 36 36 class BuddyPress { … … 120 120 * one time. Also prevents needing to define globals all over the place. 121 121 * 122 * @since BuddyPress (1.7.0)122 * @since 1.7.0 123 123 * 124 124 * @static object $instance … … 158 158 * A dummy constructor to prevent BuddyPress from being loaded more than once. 159 159 * 160 * @since BuddyPress (1.7.0)160 * @since 1.7.0 161 161 * @see BuddyPress::instance() 162 162 * @see buddypress() … … 167 167 * A dummy magic method to prevent BuddyPress from being cloned. 168 168 * 169 * @since BuddyPress (1.7.0)169 * @since 1.7.0 170 170 */ 171 171 public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'buddypress' ), '1.7' ); } … … 174 174 * A dummy magic method to prevent BuddyPress from being unserialized. 175 175 * 176 * @since BuddyPress (1.7.0)176 * @since 1.7.0 177 177 */ 178 178 public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'buddypress' ), '1.7' ); } … … 181 181 * Magic method for checking the existence of a certain custom field. 182 182 * 183 * @since BuddyPress (1.7.0)183 * @since 1.7.0 184 184 * 185 185 * @param string $key Key to check the set status for. … … 192 192 * Magic method for getting BuddyPress variables. 193 193 * 194 * @since BuddyPress (1.7.0)194 * @since 1.7.0 195 195 * 196 196 * @param string $key Key to return the value for. … … 203 203 * Magic method for setting BuddyPress variables. 204 204 * 205 * @since BuddyPress (1.7.0)205 * @since 1.7.0 206 206 * 207 207 * @param string $key Key to set a value for. … … 213 213 * Magic method for unsetting BuddyPress variables. 214 214 * 215 * @since BuddyPress (1.7.0)215 * @since 1.7.0 216 216 * 217 217 * @param string $key Key to unset a value for. … … 222 222 * Magic method to prevent notices and errors from invalid method calls. 223 223 * 224 * @since BuddyPress (1.7.0)224 * @since 1.7.0 225 225 * 226 226 * @param string $name … … 236 236 * Bootstrap constants. 237 237 * 238 * @since BuddyPress (1.6.0)238 * @since 1.6.0 239 239 * 240 240 * @uses is_multisite() … … 317 317 * Component global variables. 318 318 * 319 * @since BuddyPress (1.6.0)319 * @since 1.6.0 320 320 * @access private 321 321 * … … 336 336 * Filters the load_deprecated property value. 337 337 * 338 * @since BuddyPress (2.0.0)338 * @since 2.0.0 339 339 * 340 340 * @const constant BP_IGNORE_DEPRECATED Whether or not to ignore deprecated functionality. … … 389 389 * Filters the BuddyPress Root blog ID. 390 390 * 391 * @since BuddyPress (1.5.0)391 * @since 1.5.0 392 392 * 393 393 * @const constant BP_ROOT_BLOG BuddyPress Root blog ID. … … 431 431 * in the instance, and have matching functions to get/set their values. 432 432 * 433 * @since BuddyPress (1.7.0)433 * @since 1.7.0 434 434 */ 435 435 private function legacy_constants() { … … 449 449 * Include required files. 450 450 * 451 * @since BuddyPress (1.6.0)451 * @since 1.6.0 452 452 * @access private 453 453 * … … 508 508 * Set up the default hooks and actions. 509 509 * 510 * @since BuddyPress (1.6.0)510 * @since 1.6.0 511 511 * @access private 512 512 * … … 553 553 * Includes bbp-core-hooks.php. 554 554 * 555 * @since BuddyPress (1.7.0)555 * @since 1.7.0 556 556 * 557 557 * @param BuddyPress $this. Current BuddyPress instance. Passed by reference. … … 563 563 * Private method to align the active and database versions. 564 564 * 565 * @since BuddyPress (1.7.0)565 * @since 1.7.0 566 566 */ 567 567 private function versions() { … … 600 600 * continue to have bp-themes registered as before. 601 601 * 602 * @since BuddyPress (1.5.0)602 * @since 1.5.0 603 603 * 604 604 * @todo Move bp-default to wordpress.org/extend/themes and remove this. … … 619 619 * later date we need to automate this, an API will need to be built. 620 620 * 621 * @since BuddyPress (1.7.0)621 * @since 1.7.0 622 622 */ 623 623 public function register_theme_packages() { … … 641 641 * Set up the default BuddyPress theme compatibility location. 642 642 * 643 * @since BuddyPress (1.7.0)643 * @since 1.7.0 644 644 */ 645 645 public function setup_theme() {
Note: See TracChangeset
for help on using the changeset viewer.