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
This commit is contained in:
parent
d8b251f0af
commit
6f86cedb09
|
@ -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.' );
|
||||
}
|
||||
?>
|
||||
<div class="drag-instructions post-body-plain" <?php echo $hide_style; ?>>
|
||||
<p><?php echo $starter_copy; ?></p>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue