diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php
index 27b29ad76f..055e0c1046 100644
a
|
b
|
class WP_Site_Health { |
1320 | 1320 | if ( defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG ) { |
1321 | 1321 | $result['label'] = __( 'Your site is set to log errors to a potentially public file.' ); |
1322 | 1322 | |
1323 | | $result['status'] = 'critical'; |
| 1323 | $result['status'] = 0 === strpos( ini_get( 'error_log' ), ABSPATH ) ? 'critical' : 'recommended'; |
1324 | 1324 | |
1325 | 1325 | $result['description'] .= sprintf( |
1326 | 1326 | '<p>%s</p>', |