[wp-trac] [WordPress Trac] #58265: Show defined but empty values for constants in Site Health

WordPress Trac noreply at wordpress.org
Mon Aug 19 22:06:50 UTC 2024


#58265: Show defined but empty values for constants in Site Health
-------------------------------------------------+-------------------------
 Reporter:  Presskopp                            |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Site Health                          |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots good-first-bug has-  |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by brobken):

 @Clorith I added the requested information.
 If the constant wasn't set, it was already displaying 'Undefined'.

 The problem was only when the constant was set, but empty. This PR should
 resolve this issue and won't show empty content anymore.

 Regarding styling: wouldn't do that as this is a debug section which needs
 clean output for copy paste as well.

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


More information about the wp-trac mailing list