Make WordPress Core

Ticket #47985: 47985.2.diff

File 47985.2.diff, 421 bytes (added by afragen, 5 years ago)

improved logic

  • wp-admin/includes/class-wp-site-health.php

    diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php
    index 4e5b3c3bcc..c2d1bba09c 100644
    a b class WP_Site_Health { 
    12721272                        }
    12731273                }
    12741274
     1275                $result['status'] = 0 === strpos( ini_get( 'error_log' ), ABSPATH ) ? 'critical' : 'recommended';
     1276
    12751277                return $result;
    12761278        }
    12771279