diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index a49ffc2922..7ffd34456e 100644
a
|
b
|
class WP_Debug_Data { |
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
| 65 | // Check if WP_DEBUG_LOG is defined. |
| 66 | $wp_debug_log_value = __( 'Disabled' ); |
| 67 | |
| 68 | if ( is_string( WP_DEBUG_LOG ) ) { |
| 69 | $wp_debug_log_value = WP_DEBUG_LOG; |
| 70 | } elseif ( WP_DEBUG_LOG ) { |
| 71 | $wp_debug_log_value = __( 'Enabled' ); |
| 72 | } |
| 73 | |
65 | 74 | // Set up the array that holds all debug information. |
66 | 75 | $info = array( |
67 | 76 | 'wp-core' => array( |
… |
… |
class WP_Debug_Data { |
193 | 202 | ), |
194 | 203 | 'WP_DEBUG_LOG' => array( |
195 | 204 | 'label' => 'WP_DEBUG_LOG', |
196 | | 'value' => ( ! defined( 'WP_DEBUG_LOG' ) ? __( 'Undefined' ) : ( WP_DEBUG_LOG ? __( 'Enabled' ) : __( 'Disabled' ) ) ), |
| 205 | 'value' => $wp_debug_log_value, |
197 | 206 | ), |
198 | 207 | 'SCRIPT_DEBUG' => array( |
199 | 208 | 'label' => 'SCRIPT_DEBUG', |