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-includes/customize/class-wp-customize-nav-menu-control.php

    r38672 r39098  
    6565        <ul class="menu-settings">
    6666            <li class="customize-control">
    67                 <span class="customize-control-title"><?php _e( 'Menu Locations' ); ?></span>
     67                <span class="customize-control-title"><?php _e( 'Display Location' ); ?></span>
    6868            </li>
    6969
Note: See TracChangeset for help on using the changeset viewer.