[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 18:22:30 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 has-patch has-           |     Focuses:
  screenshots dev-feedback                       |
-------------------------------------------------+-------------------------
Changes (by xkon):

 * keywords:  site-health => site-health has-patch has-screenshots dev-
     feedback


Comment:

 [attachment:"46689.diff"] adds an extra check and displays the value of
 WP_DEBUG_LOG as well in WordPress Constants section.

 Not really sure if we can stretch the ternary there like that so I'd like
 an opinion. We can always move the check elsewhere for better readability
 if needed :) .

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


More information about the wp-trac mailing list