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

props sagarjadhav.
fixes #31816.

Built from https://develop.svn.wordpress.org/trunk@32695


git-svn-id: http://core.svn.wordpress.org/trunk@32665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-06-05 15:36:27 +00:00
parent c20edc4df5
commit 93b5a9a7fa
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32694'; $wp_version = '4.3-alpha-32695';
/** /**
* 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.