Changeset 11232
- Timestamp:
- 11/04/2016 03:38:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/src/bp-loader.php
r11229 r11232 309 309 // Whether to refrain from loading deprecated functions 310 310 if ( ! defined( 'BP_IGNORE_DEPRECATED' ) ) { 311 define( 'BP_IGNORE_DEPRECATED', true );311 define( 'BP_IGNORE_DEPRECATED', false ); 312 312 } 313 313 … … 340 340 * 341 341 * @since 2.0.0 342 * @since 2.7.0 Defaults to false (do not load deprecated code) for new installs.343 342 * 344 343 * @const constant BP_IGNORE_DEPRECATED Whether or not to ignore deprecated functionality. … … 511 510 512 511 // Skip or load deprecated content 513 if ( false !== $this->load_deprecated ) {512 if ( true === $this->load_deprecated ) { 514 513 require( $this->plugin_dir . 'bp-core/deprecated/1.2.php' ); 515 514 require( $this->plugin_dir . 'bp-core/deprecated/1.5.php' );
Note: See TracChangeset
for help on using the changeset viewer.