Skip to:
Content

BuddyPress.org


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

    r10613 r10652  
    1717if ( !class_exists( 'WP_List_Table' ) ) require( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
    1818
    19 require dirname( __FILE__ ) . '/classes/class-bp-activity-list-table.php';
     19if ( ! buddypress()->do_autoload ) {
     20    require dirname( __FILE__ ) . '/classes/class-bp-activity-list-table.php';
     21}
    2022
    2123// Per_page screen option. Has to be hooked in extremely early.
Note: See TracChangeset for help on using the changeset viewer.