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:
parent
0b63b69688
commit
a795928e3b
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user