Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/10/2016 07:45:07 PM (8 years ago)
Author:
boonebgorges
Message:

Autoload BuddyPress classes.

Backward compatibility with SPL-disabled installations is included.

See #6853.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-admin.php

    r10621 r10652  
    121121     */
    122122    private function includes() {
    123         require( $this->admin_dir . 'bp-core-admin-classes.php'    );
     123        if ( ! buddypress()->do_autoload ) {
     124            require( $this->admin_dir . 'bp-core-admin-classes.php'    );
     125        }
     126
    124127        require( $this->admin_dir . 'bp-core-admin-actions.php'    );
    125128        require( $this->admin_dir . 'bp-core-admin-settings.php'   );
Note: See TracChangeset for help on using the changeset viewer.