Make WordPress Core


Ignore:
Timestamp:
11/02/2016 10:10:30 PM (8 years ago)
Author:
helen
Message:

Menus: Use a label of "Display location" for individual nav menu settings.

While "Menu/Theme locations" was descriptive of what the choices listed were, in the context of editing an individual nav menu it is more descriptive to use a setting label that tells you what it is you are affecting for that nav menu, which is where it will be displayed. Technically multiple locations can be chosen, but in practice that appears to be rare enough that we can avoid an awkward "location(s)" type string.

props Fencer04 for the initial patch.
fixes #38525.

File:
1 edited

Legend:

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

    r38920 r39098  
    809809
    810810                                    <fieldset class="menu-settings-group menu-theme-locations">
    811                                         <legend class="menu-settings-group-name howto"><?php _e( 'Theme locations' ); ?></legend>
     811                                        <legend class="menu-settings-group-name howto"><?php _e( 'Display location' ); ?></legend>
    812812                                        <?php foreach ( $locations as $location => $description ) : ?>
    813813                                        <div class="menu-settings-input checkbox-input">
Note: See TracChangeset for help on using the changeset viewer.