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

see #27878
Built from https://develop.svn.wordpress.org/trunk@28205


git-svn-id: http://core.svn.wordpress.org/trunk@28035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2014-04-25 00:35:25 +00:00
parent 8c830cef80
commit a43313fe12
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
<label for="menu" class="selected-menu"><?php _e( 'Select a menu to edit:' ); ?></label>
<select name="menu" id="menu">
<?php if ( $add_new_screen ) : ?>
<option value="0" selected="selected"><?php _e( '-- Select --' ); ?></option>
<option value="0" selected="selected"><?php _e( '&mdash; Select &mdash;' ); ?></option>
<?php endif; ?>
<?php foreach( (array) $nav_menus as $_nav_menu ) : ?>
<option value="<?php echo esc_attr( $_nav_menu->term_id ); ?>" <?php selected( $_nav_menu->term_id, $nav_menu_selected_id ); ?>>

View File

@ -1348,7 +1348,7 @@ class WP_Widget_Tag_Cloud extends WP_Widget {
<p>
<label for="<?php echo $this->get_field_id('nav_menu'); ?>"><?php _e('Select Menu:'); ?></label>
<select id="<?php echo $this->get_field_id('nav_menu'); ?>" name="<?php echo $this->get_field_name('nav_menu'); ?>">
<option value="0"><?php _e( '-- Select --' ) ?></option>
<option value="0"><?php _e( '&mdash; Select &mdash;' ) ?></option>
<?php
foreach ( $menus as $menu ) {
echo '<option value="' . $menu->term_id . '"'