Merge pull request #872 from Automattic/simplify-primary-location-name

Update 'primary menu' location to 'primary' to simplify for users.
This commit is contained in:
alaczek 2015-11-30 14:53:44 +01:00
commit eb1040d530
2 changed files with 7 additions and 3 deletions

View File

@ -44,7 +44,7 @@ function _s_setup() {
// This theme uses wp_nav_menu() in one location. // This theme uses wp_nav_menu() in one location.
register_nav_menus( array( register_nav_menus( array(
'primary' => esc_html__( 'Primary Menu', '_s' ), 'primary' => esc_html__( 'Primary', '_s' ),
) ); ) );
/* /*

View File

@ -84,9 +84,8 @@ msgid "Theme: %1$s by %2$s."
msgstr "" msgstr ""
#: functions.php:47 #: functions.php:47
#: header.php:38
#@ _s #@ _s
msgid "Primary Menu" msgid "Primary"
msgstr "" msgstr ""
#: functions.php:102 #: functions.php:102
@ -99,6 +98,11 @@ msgstr ""
msgid "Skip to content" msgid "Skip to content"
msgstr "" msgstr ""
#: header.php:38
#@ _s
msgid "Primary Menu"
msgstr ""
#: inc/template-tags.php:28 #: inc/template-tags.php:28
#, php-format #, php-format
#@ _s #@ _s