From 6f86cedb09f4ad42c5443cf5cc0c46b30bd41010 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 27 Nov 2019 19:51:01 +0000 Subject: [PATCH] Menus: Improve the wording of instructions for dragging the items into the preferred order. Props amolv, equin0x80, dlh. Fixes #48184. Built from https://develop.svn.wordpress.org/trunk@46791 git-svn-id: http://core.svn.wordpress.org/trunk@46591 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/nav-menus.php | 7 ++++++- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 0694ec8b6a..a6bbecd54b 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -920,7 +920,12 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); if ( isset( $menu_items ) && 0 == count( $menu_items ) ) { $hide_style = 'style="display: none;"'; } - $starter_copy = ( $one_theme_location_no_menus ) ? __( 'Edit your default menu by adding or removing items. Drag each item into the order you prefer. Click Create Menu to save your changes.' ) : __( 'Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' ); + + if ( $one_theme_location_no_menus ) { + $starter_copy = __( 'Edit your default menu by adding or removing items. Drag the items into the order you prefer. Click Create Menu to save your changes.' ); + } else { + $starter_copy = __( 'Drag the items into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' ); + } ?>
>

diff --git a/wp-includes/version.php b/wp-includes/version.php index dd1d5cd433..c718515c90 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46790'; +$wp_version = '5.4-alpha-46791'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.