Changeset 54239
- Timestamp:
- 09/20/2022 02:22:49 AM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r54133 r54239 237 237 238 238 // Check WP_ENVIRONMENT_TYPE. 239 if ( defined( 'WP_ENVIRONMENT_TYPE' ) ) {239 if ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE ) { 240 240 $wp_environment_type = WP_ENVIRONMENT_TYPE; 241 241 } else { -
trunk/src/wp-includes/load.php
r54080 r54239 228 228 229 229 // Fetch the environment from a constant, this overrides the global system variable. 230 if ( defined( 'WP_ENVIRONMENT_TYPE' ) ) {230 if ( defined( 'WP_ENVIRONMENT_TYPE' ) && WP_ENVIRONMENT_TYPE ) { 231 231 $current_env = WP_ENVIRONMENT_TYPE; 232 232 }
Note: See TracChangeset
for help on using the changeset viewer.