Nav menus: Add an ID attribute to the menu select box to link it with the label.
see #31816. fixes #32699. Built from https://develop.svn.wordpress.org/trunk@33174 git-svn-id: http://core.svn.wordpress.org/trunk@33146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f0506e3b2
commit
cfa6e60bcb
|
@ -654,8 +654,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<form method="get" action="<?php echo admin_url( 'nav-menus.php' ); ?>">
|
<form method="get" action="<?php echo admin_url( 'nav-menus.php' ); ?>">
|
||||||
<input type="hidden" name="action" value="edit" />
|
<input type="hidden" name="action" value="edit" />
|
||||||
<label for="menu" class="selected-menu"><?php _e( 'Select a menu to edit:' ); ?></label>
|
<label for="select-menu-to-edit" class="selected-menu"><?php _e( 'Select a menu to edit:' ); ?></label>
|
||||||
<select name="menu">
|
<select name="menu" id="select-menu-to-edit">
|
||||||
<?php if ( $add_new_screen ) : ?>
|
<?php if ( $add_new_screen ) : ?>
|
||||||
<option value="0" selected="selected"><?php _e( '— Select —' ); ?></option>
|
<option value="0" selected="selected"><?php _e( '— Select —' ); ?></option>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta2-33173';
|
$wp_version = '4.3-beta2-33174';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue