Make WordPress Core

Changeset 32695


Ignore:
Timestamp:
06/05/2015 03:35:17 PM (9 years ago)
Author:
helen
Message:

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

props sagarjadhav.
fixes #31816.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/nav-menus.php

    r32642 r32695  
    713713                    <?php } ?>
    714714                    <input type="hidden" name="action" value="update" />
    715                     <input type="hidden" name="menu" id="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
     715                    <input type="hidden" name="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
    716716                    <div id="nav-menu-header">
    717717                        <div class="major-publishing-actions">
Note: See TracChangeset for help on using the changeset viewer.