Ticket #7140: 7140.01.patch
File 7140.01.patch, 453 bytes (added by , 7 years ago) |
---|
-
src/bp-loader.php
618 618 return; 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 } 623 629