Make WordPress Core

Ticket #47985: 47985.diff

File 47985.diff, 415 bytes (added by afragen, 5 years ago)

test error_log file path to ABSPATH

  • 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 8ced4646bb..18c90589d2 100644
    a b class WP_Site_Health { 
    12721272                        }
    12731273                }
    12741274
     1275                $result['status'] = strpos( ini_get( 'error_log' ), ABSPATH ) ? 'recommended' : 'critical';
     1276
    12751277                return $result;
    12761278        }
    12771279