diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index 91c6b837c1..aa8ac33c3c 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; |
| 241 | 240 | } else { |
| 242 | | $wp_local_dev = __( 'Undefined' ); |
| 243 | | $wp_local_dev_debug = 'undefined'; |
| | 241 | $wp_environment_type = __( 'Undefined' ); |
| 244 | 242 | } |
| 245 | 243 | |
| 246 | 244 | $info['wp-constants'] = array( |
| … |
… |
class WP_Debug_Data { |
| 318 | 316 | 'value' => $compress_css, |
| 319 | 317 | 'debug' => $compress_css_debug, |
| 320 | 318 | ), |
| 321 | | 'WP_LOCAL_DEV' => array( |
| 322 | | 'label' => 'WP_LOCAL_DEV', |
| 323 | | 'value' => $wp_local_dev, |
| 324 | | 'debug' => $wp_local_dev_debug, |
| | 319 | 'WP_ENVIRONMENT_TYPE' => array( |
| | 320 | 'label' => 'WP_ENVIRONMENT_TYPE', |
| | 321 | 'value' => $wp_environment_type, |
| | 322 | 'debug' => 'N/A', |
| 325 | 323 | ), |
| 326 | 324 | 'DB_CHARSET' => array( |
| 327 | 325 | 'label' => 'DB_CHARSET', |