Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/10/2016 07:45:07 PM (10 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-xprofile/bp-xprofile-loader.php

    r10525 r10652  
    1414defined( 'ABSPATH' ) || exit;
    1515
    16 require dirname( __FILE__ ) . '/classes/class-bp-xprofile-component.php';
     16if ( ! buddypress()->do_autoload ) {
     17    require dirname( __FILE__ ) . '/classes/class-bp-xprofile-component.php';
     18}
    1719
    1820/**
Note: See TracChangeset for help on using the changeset viewer.