[wp-trac] [WordPress Trac] #53535: Site health/i18n: add a separator between tab names and "Site health"

WordPress Trac noreply at wordpress.org
Mon Jun 28 07:46:59 UTC 2021


#53535: Site health/i18n: add a separator between tab names and "Site health"
--------------------------+-------------------------------------
 Reporter:  audrasjb      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch i18n-change
  Focuses:                |
--------------------------+-------------------------------------
 The current implementation of Site Health tab names is missing a separator
 between "Site Health" and the name of the tab.
 {{{
 $title = sprintf(
        // translators: %s: The currently displayed tab.
        __( 'Site Health %s' ),
        ( isset( $_GET['tab'] ) ? esc_html( $tabs[ $_GET['tab'] ] ) :
 esc_html( reset( $tabs ) ) )
 );
 }}}

 With the default tabs, it displays "Site Health Info" and "Site Health
 Status", but with the introduction of custom tabs, I think we should add a
 separator between "Site Health" and the name of the tab.

 I'd propose to rather use "–" or ":", so it will work on any custom tab
 name provided by developers.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53535>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list