Changeset 10942 for trunk/src/bp-loader.php
- Timestamp:
- 07/10/2016 09:51:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-loader.php
r10940 r10942 619 619 } 620 620 621 // Sanity check 2 - Check if component is active before loading class. 622 // Skip if PHPUnit is running. 623 if ( 'core' !== $component && false === bp_is_active( $component ) && false === function_exists( 'tests_add_filter' ) ) { 621 /* 622 * Sanity check 2 - Check if component is active before loading class. 623 * Skip if PHPUnit is running, or BuddyPress is installing for the first time. 624 */ 625 if ( 626 ! in_array( $component, array( 'core', 'members' ), true ) && 627 ! bp_is_active( $component ) && 628 ! function_exists( 'tests_add_filter' ) 629 ) { 624 630 return; 625 631 }
Note: See TracChangeset
for help on using the changeset viewer.