diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index b337d94dae..7041ab3016 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -1398,7 +1398,7 @@ class WP_Site_Health { if ( defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG ) { $result['label'] = __( 'Your site is set to log errors to a potentially public file.' ); - $result['status'] = 'critical'; + $result['status'] = ( 0 === strpos( ini_get( 'error_log' ), ABSPATH ) ) ? 'critical' : 'recommended'; $result['description'] .= sprintf( '

%s

', diff --git a/wp-includes/version.php b/wp-includes/version.php index f3c3ba0718..9282d12581 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47234'; +$wp_version = '5.4-alpha-47235'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.