Nav menus: Add an ID attribute to the menu select box to link it with the label.
see #31816. fixes #32699. git-svn-id: https://develop.svn.wordpress.org/trunk@33174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ca0aa3f19a
commit
9824007fc3
@ -654,8 +654,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<?php else : ?>
|
||||
<form method="get" action="<?php echo admin_url( 'nav-menus.php' ); ?>">
|
||||
<input type="hidden" name="action" value="edit" />
|
||||
<label for="menu" class="selected-menu"><?php _e( 'Select a menu to edit:' ); ?></label>
|
||||
<select name="menu">
|
||||
<label for="select-menu-to-edit" class="selected-menu"><?php _e( 'Select a menu to edit:' ); ?></label>
|
||||
<select name="menu" id="select-menu-to-edit">
|
||||
<?php if ( $add_new_screen ) : ?>
|
||||
<option value="0" selected="selected"><?php _e( '— Select —' ); ?></option>
|
||||
<?php endif; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user