[wp-trac] [WordPress Trac] #47985: Site Health: log errors to public file

WordPress Trac noreply at wordpress.org
Thu Sep 5 23:00:50 UTC 2019


#47985: Site Health: log errors to public file
-------------------------+-----------------------------
 Reporter:  afragen      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Site Health  |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 As mentioned in [https://core.trac.wordpress.org/ticket/47046#comment:56
 #47046] just because `WP_DEBUG_LOG` is true doesn't mean the file is
 publicly viewable.

 Obviously viewable files are in the `ABSPATH` usually in `wp-content`
 somewhere. A simple test against `ABSPATH` could be used to move the error
 from critical to recommended. It still shows as a potential problem but
 possibly not as severe as an average user might infer.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47985>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list