Make WordPress Core


Ignore:
Timestamp:
11/12/2020 07:28:35 PM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Use consistent casing in strings.

This converts strings using Title Case to sentence case, which is currently preferred for consistency (see discussions on #40244).

Also included is the replacement of an escaped apostrophe with ’, which is also preferred per the Internationalization guidelines.

See #51526.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/inc/starter-content.php

    r49574 r49578  
    152152            // Assign a menu to the "primary" location.
    153153            'primary' => array(
    154                 'name'  => esc_html__( 'Primary Menu', 'twentytwentyone' ),
     154                'name'  => esc_html__( 'Primary menu', 'twentytwentyone' ),
    155155                'items' => array(
    156156                    'link_home', // Note that the core "home" page is actually a link in case a static front page is not used.
     
    163163            // Assign a menu to the "footer" location.
    164164            'footer'  => array(
    165                 'name'  => esc_html__( 'Secondary Menu', 'twentytwentyone' ),
     165                'name'  => esc_html__( 'Secondary menu', 'twentytwentyone' ),
    166166                'items' => array(
    167167                    'link_facebook',
Note: See TracChangeset for help on using the changeset viewer.