Site Health: If `WP_DEBUG_LOG` contains a file path, display it on Site Info tab.

Props xkon, knutsp, ocean90.
Fixes #46692.

git-svn-id: https://develop.svn.wordpress.org/trunk@45079 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-04-01 01:25:06 +00:00
parent 0b63b69688
commit a795928e3b
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class WP_Debug_Data {
),
'WP_DEBUG_LOG' => array(
'label' => 'WP_DEBUG_LOG',
'value' => ( ! defined( 'WP_DEBUG_LOG' ) ? __( 'Undefined' ) : ( WP_DEBUG_LOG ? __( 'Enabled' ) : __( 'Disabled' ) ) ),
'value' => ( is_string( WP_DEBUG_LOG ) ? WP_DEBUG_LOG : ( WP_DEBUG_LOG ? __( 'Enabled' ) : __( 'Disabled' ) ) ),
),
'SCRIPT_DEBUG' => array(
'label' => 'SCRIPT_DEBUG',