[wp-trac] [WordPress Trac] #46945: Site Health: More human readable values

WordPress Trac noreply at wordpress.org
Tue Apr 16 11:31:02 UTC 2019


#46945: Site Health: More human readable values
----------------------------+-------------------------
 Reporter:  birgire         |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  maybelater
 Keywords:  site-health     |     Focuses:
----------------------------+-------------------------

Comment (by birgire):

 Thank you for reviewing @Clorith

 On the other hand there are already various display values being adjusted
 to make them more human readable.

 For example the values of constants like:

 {{{
 'WP_DEBUG_DISPLAY'    => array(
         'label' => 'WP_DEBUG_DISPLAY',
         'value' => WP_DEBUG_DISPLAY ? __( 'Enabled' ) : __( 'Disabled' ),
         'debug' => WP_DEBUG_DISPLAY,
 ),

 }}}

 I found this recent ticket #46909 to
 [https://core.trac.wordpress.org/ticket/46909 Provide a user-friendly
 value for default comment status]. The display value of the default
 comment status option {{{default_comment_status}}} is now modified with:

 {{{
 'default_comment_status' => array(
         'label' => __( 'Default comment status' ),
         'value' => 'open' === $default_comment_status ? _x( 'Open',
 'comment status' ) : _x( 'Closed', 'comment status' ),
         'debug' => $default_comment_status,
 ),

 }}}

 Similar for the display of the {{{user_registration}}} option's value. So
 for different languages these could be very different from the saved DB
 value.

 The PHP config option {{{max_execution_time}}} is displayed as {{{PHP time
 limit}}} and copied as {{{time_limit}}}, so it's already not an exact one-
 one relation between the config option and the displayed value.

 I wonder if e.g. info bubbles on each item, would be helpful regarding
 these nuances of displaying human readable info and exact technical info.

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


More information about the wp-trac mailing list