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

WordPress Trac noreply at wordpress.org
Tue Oct 1 17:58:04 UTC 2024


#58265: Show defined but empty values for constants in Site Health
-------------------------------------------------+-------------------------
 Reporter:  Presskopp                            |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.7
Component:  Site Health                          |     Version:  5.2
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots good-first-bug has-  |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"59155" 59155]:
 {{{
 #!CommitTicketReference repository="" revision="59155"
 Site Health: Adjust display of the `DB_COLLATE` and `WP_ENVIRONMENT_TYPE`
 constants.

 Includes:
 * Simplifying the logic and bringing some consistency to how the values
 are checked and displayed.
 * Correcting the debug value for `DB_COLLATE`. This should be the actual
 contents of the constant, and empty if it is indeed empty, as the debug
 data that's copied and shared should represent the raw value, and does not
 need to be in a user-readable format.

 Follow-up to [45782], [52021], [54239], [59147].

 Props Clorith, SergeyBiryukov.
 See #58265.
 }}}

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


More information about the wp-trac mailing list