diff --git a/wp-admin/js/customize-nav-menus.js b/wp-admin/js/customize-nav-menus.js index 6736b56bc3..84a5447ed4 100644 --- a/wp-admin/js/customize-nav-menus.js +++ b/wp-admin/js/customize-nav-menus.js @@ -2459,7 +2459,7 @@ this._setupAddition(); this._setupTitle(); - // Add menu to Custom Menu widgets. + // Add menu to Navigation Menu widgets. if ( menu ) { name = displayNavMenuName( menu.name ); @@ -2509,7 +2509,7 @@ if ( false === to ) { control._handleDeletion(); } else { - // Update names in the Custom Menu widgets. + // Update names in the Navigation Menu widgets. name = displayNavMenuName( to.name ); api.control.each( function( widgetControl ) { if ( ! widgetControl.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== widgetControl.params.widget_id_base ) { @@ -2651,7 +2651,7 @@ } }); - // Remove the menu from any Custom Menu widgets. + // Remove the menu from any Navigation Menu widgets. api.control.each(function( widgetControl ) { if ( ! widgetControl.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== widgetControl.params.widget_id_base ) { return; @@ -3063,7 +3063,7 @@ // Add new control for the new menu. api.section.add( newSection ); - // Update the values for nav menus in Custom Menu controls. + // Update the values for nav menus in Navigation Menu controls. api.control.each( function( setting ) { if ( ! setting.extended( api.controlConstructor.widget_form ) || 'nav_menu' !== setting.params.widget_id_base ) { return; diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index d8fc77f01d..88485d0f6b 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -514,12 +514,12 @@ wp_nav_menu_setup(); wp_initial_nav_menu_meta_boxes(); if ( ! current_theme_supports( 'menus' ) && ! $num_locations ) - $messages[] = '

' . sprintf( __( 'Your theme does not natively support menus, but you can use them in sidebars by adding a “Custom Menu” widget on the Widgets screen.' ), admin_url( 'widgets.php' ) ) . '

'; + $messages[] = '

' . sprintf( __( 'Your theme does not natively support menus, but you can use them in sidebars by adding a “Navigation Menu” widget on the Widgets screen.' ), admin_url( 'widgets.php' ) ) . '

'; if ( ! $locations_screen ) : // Main tab - $overview = '

' . __( 'This screen is used for managing your custom navigation menus.' ) . '

'; + $overview = '

' . __( 'This screen is used for managing your navigation menus.' ) . '

'; /* translators: 1: Widgets admin screen URL, 2 and 3: The name of the default themes */ - $overview .= '

' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Custom Menu” widget on the Widgets screen. If your theme does not support the custom menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Sixteen', 'Twenty Seventeen' ) . '

'; + $overview .= '

' . sprintf( __( 'Menus can be displayed in locations defined by your theme, even used in sidebars by adding a “Navigation Menu” widget on the Widgets screen. If your theme does not support the navigation menus feature (the default themes, %2$s and %3$s, do), you can learn about adding this support by following the Documentation link to the side.' ), admin_url( 'widgets.php' ), 'Twenty Sixteen', 'Twenty Seventeen' ) . '

'; $overview .= '

' . __( 'From this screen you can:' ) . '

'; $overview .= ''; @@ -541,7 +541,7 @@ if ( ! $locations_screen ) : // Main tab 'content' => $menu_management ) ); - $editing_menus = '

' . __( 'Each custom menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '

'; + $editing_menus = '

' . __( 'Each navigation menu may contain a mix of links to pages, categories, custom URLs or other content types. Menu links are added by selecting items from the expanding boxes in the left-hand column below.' ) . '

'; $editing_menus .= '

' . __( 'Clicking the arrow to the right of any menu item in the editor will reveal a standard group of settings. Additional settings such as link target, CSS classes, link relationships, and link descriptions can be enabled and disabled via the Screen Options tab.' ) . '

'; $editing_menus .= '