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-friends/bp-friends-loader.php

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