WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/27/2019 07:49:24 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Menus: Improve the wording of instructions for dragging the items into the preferred order.

Props amolv, equin0x80, dlh.
Fixes #48184.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r46278 r46791  
    921921                                    $hide_style = 'style="display: none;"';
    922922                                }
    923                                 $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.' );
     923
     924                                if ( $one_theme_location_no_menus ) {
     925                                    $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.' );
     926                                } else {
     927                                    $starter_copy = __( 'Drag the items into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options.' );
     928                                }
    924929                                ?>
    925930                            <div class="drag-instructions post-body-plain" <?php echo $hide_style; ?>>
Note: See TracChangeset for help on using the changeset viewer.