[wp-trac] [WordPress Trac] #58484: Site Health: Improve display of constants in debug data

WordPress Trac noreply at wordpress.org
Thu Oct 19 13:58:00 UTC 2023


#58484: Site Health: Improve display of constants in debug data
---------------------------+-----------------------------
 Reporter:  ramon fincken  |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  reviewing
 Priority:  normal         |   Milestone:  6.5
Component:  Site Health    |     Version:  6.3
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------

Comment (by ramon fincken):

 The github PR is the latest. Checked with @ocean90 .

 So .. we have the changed code to reflect the actual values.
 Also we needed a change for the debug values as you can define an empty
 string or for instance a NULL/null. Therefore we needed to rewrite the
 isset to key_exists.

 Also some translator instructions were added.

 We choose to use multi if instead of match/switch because it is more human
 readable.

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


More information about the wp-trac mailing list