Make WordPress Core


Ignore:
Timestamp:
10/28/2016 11:43:54 PM (10 years ago)
Author:
davidakennedy
Message:

Twenty Seventeen: Adds missing theme text domains to starter content

  • Also, changes the top menu label so it has better context when read alone by assistive technology.

Props anilbasnet.

Fixes #38542.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/functions.php

    r39000 r39001  
    5858        // This theme uses wp_nav_menu() in two locations.
    5959        register_nav_menus( array(
    60                 'top'    => __( 'Top', 'twentyseventeen' ),
     60                'top'    => __( 'Top Menu', 'twentyseventeen' ),
    6161                'social' => __( 'Social Links Menu', 'twentyseventeen' ),
    6262        ) );
    … …  
    144144                'nav_menus' => array(
    145145                        'top' => array(
    146                                 'name' => __( 'Top' ),
     146                                'name' => __( 'Top', 'twentyseventeen' ),
    147147                                'items' => array(
    148148                                        'page_home',
    … …  
    153153                        ),
    154154                        'social' => array(
    155                                 'name' => __( 'Social' ),
     155                                'name' => __( 'Social', 'twentyseventeen' ),
    156156                                'items' => array(
    157157                                        'link_yelp',
Note: See TracChangeset for help on using the changeset viewer.