Changeset 10919
- Timestamp:
- 06/29/2016 08:29:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-loader.php
r10902 r10919 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' ) ) { 624 return; 625 } 626 621 627 require $path; 622 628 }
Note: See TracChangeset
for help on using the changeset viewer.