diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index 185c539f00..5db73343c6 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -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', diff --git a/wp-includes/version.php b/wp-includes/version.php index 69fabda352..4499ccabb3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45078'; +$wp_version = '5.2-beta1-45079'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.