Changeset 11105 for trunk/src/bp-loader.php
- Timestamp:
- 09/15/2016 08:19:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-loader.php
r11084 r11105 309 309 // Whether to refrain from loading deprecated functions 310 310 if ( ! defined( 'BP_IGNORE_DEPRECATED' ) ) { 311 define( 'BP_IGNORE_DEPRECATED', false );311 define( 'BP_IGNORE_DEPRECATED', true ); 312 312 } 313 313 … … 332 332 333 333 $this->version = '2.7-alpha'; 334 $this->db_version = 11 084;334 $this->db_version = 11105; 335 335 336 336 /** Loading ***********************************************************/ 337 337 338 338 /** 339 * Filters the load_deprecated property value.339 * Whether to load deprecated code or not. 340 340 * 341 341 * @since 2.0.0 342 * @since 2.7.0 Defaults to false (do not load deprecated code) for new installs. 342 343 * 343 344 * @const constant BP_IGNORE_DEPRECATED Whether or not to ignore deprecated functionality. … … 510 511 511 512 // Skip or load deprecated content 512 if ( false !== $this->load_deprecated) {513 if ( $this->load_deprecated || ! bp_get_option( '_bp_ignore_deprecated_code' ) ) { 513 514 require( $this->plugin_dir . 'bp-core/deprecated/1.2.php' ); 514 515 require( $this->plugin_dir . 'bp-core/deprecated/1.5.php' );
Note: See TracChangeset
for help on using the changeset viewer.