[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
Tue Oct 7 17:44:08 UTC 2025


#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:  Awaiting Review
Component:  Site Health   |     Version:  6.8.3
 Severity:  minor         |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:  administration
--------------------------+------------------------------
Changes (by westonruter):

 * type:  enhancement => defect (bug)


Comment:

 Thanks for opening a ticket!

 To be fair, the Site Health message does say the file is "''potentially''
 available to all users".

 How would the test be able to reliably know whether the directory for
 where the logs are written to is mounted somewhere publicly or not?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64071#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list