Changeset 45607 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r45588 r45607 77 77 78 78 // Should we run in multisite mode? 79 $multisite = '1' == getenv( 'WP_MULTISITE');79 $multisite = ( '1' === getenv( 'WP_MULTISITE' ) ); 80 80 $multisite = $multisite || ( defined( 'WP_TESTS_MULTISITE' ) && WP_TESTS_MULTISITE ); 81 81 $multisite = $multisite || ( defined( 'MULTISITE' ) && MULTISITE ); … … 192 192 193 193 foreach ( $skipped_groups as $group_name => $skipped ) { 194 if ( in_array( $group_name, $groups ) ) {194 if ( in_array( $group_name, $groups, true ) ) { 195 195 $skipped_groups[ $group_name ] = false; 196 196 }
Note: See TracChangeset
for help on using the changeset viewer.