[wp-trac] [WordPress Trac] #46692: Site Health: WP_DEBUG_LOG just shown as Enabled when it actually contains a path

WordPress Trac noreply at wordpress.org
Fri Mar 29 22:35:18 UTC 2019


#46692: Site Health: WP_DEBUG_LOG just shown as Enabled when it actually contains a
path
-----------------------------------+------------------------------
 Reporter:  knutsp                 |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Administration         |     Version:  trunk
 Severity:  minor                  |  Resolution:
 Keywords:  site-health has-patch  |     Focuses:
-----------------------------------+------------------------------
Changes (by xkon):

 * keywords:  site-health => site-health has-patch


Comment:

 [attachment:"46692.2.diff"] replaces the ternary that checks if/else and
 moves it before the debug info array.

 I think that since we already had some vars passed into the array at the
 very start ( for updates etc ) it made more sense to me this way than
 adding it into the array later on ( it also cleanly preserves the original
 placement ).

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


More information about the wp-trac mailing list