Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/29/2016 09:00:26 PM (8 years ago)
Author:
boonebgorges
Message:

Remove do_autoload checks and manual class loaders.

Our PHP 5.3 requirement means that spl_autoload_register() will
always be available.

See #7299.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-widgets.php

    r10652 r11360  
    1010// Exit if accessed directly.
    1111defined( 'ABSPATH' ) || exit;
    12 
    13 if ( ! buddypress()->do_autoload ) {
    14     require dirname( __FILE__ ) . '/classes/class-bp-core-members-widget.php';
    15     require dirname( __FILE__ ) . '/classes/class-bp-core-whos-online-widget.php';
    16     require dirname( __FILE__ ) . '/classes/class-bp-core-recently-active-widget.php';
    17 }
    1812
    1913/**
Note: See TracChangeset for help on using the changeset viewer.