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

WordPress Trac noreply at wordpress.org
Sun Dec 15 11:45:11 UTC 2019


#47985: Site Health: log errors to public file
------------------------------------+---------------------
 Reporter:  afragen                 |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  5.4
Component:  Site Health             |     Version:  5.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------

Comment (by kubiq):

 Well, you can check if WP_DEBUG_LOG == 1 and then do test with default
 url, else you can translate absolute path from WP_DEBUG_LOG to URL, maybe
 some try-catch and comparison with ABSPATH, etc... there is always a way
 how to do it, but alerting user a critical issue for public log file that
 is absolutely not public doesn't seems right to me.
 I can try to rewrite WP site health tests if you want, if it will help ;)

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


More information about the wp-trac mailing list