Skip to:
Content

BuddyPress.org

Changeset 11214


Ignore:
Timestamp:
10/26/2016 07:20:15 PM (4 years ago)
Author:
djpaul
Message:

Core: partial revert of r11105 to restore pre-2.7 deprecated code loading behaviour.

This needs more work, so we'll revisit for BP 2.8.

See #7307

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/src/bp-loader.php

    r11205 r11214  
    511511
    512512        // Skip or load deprecated content
    513         if ( $this->load_deprecated || ! bp_get_option( '_bp_ignore_deprecated_code' ) ) {
     513        if ( false !== $this->load_deprecated ) {
    514514            require( $this->plugin_dir . 'bp-core/deprecated/1.2.php' );
    515515            require( $this->plugin_dir . 'bp-core/deprecated/1.5.php' );
Note: See TracChangeset for help on using the changeset viewer.