Changeset 10928
- Timestamp:
- 06/30/2016 09:58:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/bp-loader.php
r10924 r10928 618 618 } 619 619 620 // Sanity check 2 - Check if component is active before loading class. 621 // Skip if PHPUnit is running. 622 if ( 'core' !== $component && false === bp_is_active( $component ) && false === function_exists( 'tests_add_filter' ) ) { 620 /* 621 * Sanity check 2 - Check if component is active before loading class. 622 * Skip if PHPUnit is running, or BuddyPress is installing for the first time. 623 */ 624 if ( 625 ! in_array( $component, array( 'core', 'members' ), true ) && 626 ! bp_is_active( $component ) && 627 ! function_exists( 'tests_add_filter' ) 628 ) { 623 629 return; 624 630 }
Note: See TracChangeset
for help on using the changeset viewer.