Changeset 11236
- Timestamp:
- 11/04/2016 06:23:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-loader.php
r11233 r11236 337 337 * @since 2.8.0 Defaults to true on upgrades, false for new installs. 338 338 */ 339 $this->load_deprecated = ! bp_get_option( '_bp_ignore_deprecated_code', true );339 $this->load_deprecated = false; 340 340 341 341 /** Toolbar ***********************************************************/ … … 508 508 } 509 509 510 // Maybe load deprecated functionality 511 if ( true === $this->load_deprecated) {510 // Maybe load deprecated functionality (this double negative is proof positive!) 511 if ( ! bp_get_option( '_bp_ignore_deprecated_code', ! $this->load_deprecated ) ) { 512 512 require( $this->plugin_dir . 'bp-core/deprecated/1.2.php' ); 513 513 require( $this->plugin_dir . 'bp-core/deprecated/1.5.php' );
Note: See TracChangeset
for help on using the changeset viewer.