[wp-trac] [WordPress Trac] #46689: Site Health: Your site is set to log errors to a potentially public file

WordPress Trac noreply at wordpress.org
Thu Mar 28 10:13:29 UTC 2019


#46689: Site Health: Your site is set to log errors to a potentially public file
----------------------------+------------------------------
 Reporter:  knutsp          |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  site-health     |     Focuses:
----------------------------+------------------------------

Comment (by earnjam):

 I'm not sure we can be positive it isn't public just by checking that its
 location is above `ABSPATH` and doesn't contain `index.php`.

 You can run WordPress in a subdirectory (as deeply nested as you want) of
 a public-facing directory. That root directory (or any public directory
 above `ABSPATH`) may not include an `index.php` file.

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


More information about the wp-trac mailing list