Nav menus: Hidden inputs do not need an ID, especially one that's already in use.

props sagarjadhav.
fixes #31816.


git-svn-id: https://develop.svn.wordpress.org/trunk@32695 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2015-06-05 15:35:17 +00:00
parent 990008aa50
commit 028c61f1d4

View File

@ -712,7 +712,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
<input type="hidden" name="zero-menu-state" value="true" />
<?php } ?>
<input type="hidden" name="action" value="update" />
<input type="hidden" name="menu" id="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
<input type="hidden" name="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
<div id="nav-menu-header">
<div class="major-publishing-actions">
<label class="menu-name-label howto open-label" for="menu-name">