[wp-trac] [WordPress Trac] #64071: Site Health false positive: WP_DEBUG_LOG warning when debug.log is outside wp-content
WordPress Trac
noreply at wordpress.org
Sun Jan 4 15:45:25 UTC 2026
#64071: Site Health false positive: WP_DEBUG_LOG warning when debug.log is outside
wp-content
--------------------------+-----------------------------
Reporter: dannythedog | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Site Health | Version: 6.8.3
Severity: minor | Resolution:
Keywords: needs-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by dennishall):
* Attachment "site-health-debug-log-outside-abspath.2.php" added.
MU-Plugin that fixes the false positive WordPress Site Health > Status >
Critical information whereas a debug log file that is outside the ABSPATH
will not be reported as "potentially" publicly accessible. This mu-plugin
is only a patch and should work with ALL WP 6.0+ installations which "may
include - but not tested with" WPMU sites.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64071>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list