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:
parent
c20edc4df5
commit
93b5a9a7fa
|
@ -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">
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue