Changeset 10918
- Timestamp:
- 06/29/2016 08:28:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/bp-loader.php
r10900 r10918 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' ) ) { 623 return; 624 } 625 620 626 require $path; 621 627 }
Note: See TracChangeset
for help on using the changeset viewer.