diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index 91c6b837c1..6b33921db9 100644
|
a
|
b
|
class WP_Debug_Data { |
| 234 | 234 | $compress_css_debug = 'undefined'; |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | | // Check WP_LOCAL_DEV. |
| 238 | | if ( defined( 'WP_LOCAL_DEV' ) ) { |
| 239 | | $wp_local_dev = WP_LOCAL_DEV ? __( 'Enabled' ) : __( 'Disabled' ); |
| 240 | | $wp_local_dev_debug = WP_LOCAL_DEV ? 'true' : 'false'; |
| | 237 | // Check WP_ENVIRONMENT_TYPE. |
| | 238 | if ( defined( 'WP_ENVIRONMENT_TYPE' ) ) { |
| | 239 | $wp_environment_type = WP_ENVIRONMENT_TYPE ? __( 'Enabled' ) : __( 'Disabled' ); |
| | 240 | $wp_environment_type_debug = WP_ENVIRONMENT_TYPE ? 'true' : 'false'; |
| 241 | 241 | } else { |
| 242 | | $wp_local_dev = __( 'Undefined' ); |
| 243 | | $wp_local_dev_debug = 'undefined'; |
| | 242 | $wp_environment_type = __( 'Undefined' ); |
| | 243 | $wp_environment_type_debug = 'undefined'; |
| 244 | 244 | } |
| 245 | 245 | |
| 246 | 246 | $info['wp-constants'] = array( |
| … |
… |
class WP_Debug_Data { |
| 318 | 318 | 'value' => $compress_css, |
| 319 | 319 | 'debug' => $compress_css_debug, |
| 320 | 320 | ), |
| 321 | | 'WP_LOCAL_DEV' => array( |
| 322 | | 'label' => 'WP_LOCAL_DEV', |
| 323 | | 'value' => $wp_local_dev, |
| 324 | | 'debug' => $wp_local_dev_debug, |
| | 321 | 'WP_ENVIRONMENT_TYPE' => array( |
| | 322 | 'label' => 'WP_ENVIRONMENT_TYPE', |
| | 323 | 'value' => $wp_environment_type, |
| | 324 | 'debug' => $wp_environment_type_debug, |
| 325 | 325 | ), |
| 326 | 326 | 'DB_CHARSET' => array( |
| 327 | 327 | 'label' => 'DB_CHARSET', |