WordPress.org

Make WordPress Core

Changeset 28205


Ignore:
Timestamp:
04/25/2014 12:34:20 AM (6 years ago)
Author:
markjaquith
Message:

Use '— Select —' instead of '-- Select --' for nav menus. Looks nicer.

see #27878

Location:
trunk/src
Files:
2 edited

Legend:

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

    r27469 r28205  
    621621            <select name="menu" id="menu">
    622622                <?php if ( $add_new_screen ) : ?>
    623                     <option value="0" selected="selected"><?php _e( '-- Select --' ); ?></option>
     623                    <option value="0" selected="selected"><?php _e( '&mdash; Select &mdash;' ); ?></option>
    624624                <?php endif; ?>
    625625                <?php foreach( (array) $nav_menus as $_nav_menu ) : ?>
  • trunk/src/wp-includes/default-widgets.php

    r28197 r28205  
    13491349            <label for="<?php echo $this->get_field_id('nav_menu'); ?>"><?php _e('Select Menu:'); ?></label>
    13501350            <select id="<?php echo $this->get_field_id('nav_menu'); ?>" name="<?php echo $this->get_field_name('nav_menu'); ?>">
    1351                 <option value="0"><?php _e( '-- Select --' ) ?></option>
     1351                <option value="0"><?php _e( '&mdash; Select &mdash;' ) ?></option>
    13521352        <?php
    13531353            foreach ( $menus as $menu ) {
Note: See TracChangeset for help on using the changeset viewer.