Make WordPress Core

Changeset 23807


Ignore:
Timestamp:
03/27/2013 08:51:17 AM (11 years ago)
Author:
markjaquith
Message:

Use GET for nav menu selection, and default action.

fixes #23813. props helen.

File:
1 edited

Legend:

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

    r23761 r23807  
    487487        </span><!-- /add-edit-menu-action -->
    488488    <?php else : ?>
    489         <form method="post" action="<?php echo admin_url( 'nav-menus.php' ); ?>">
     489        <form method="get" action="">
    490490            <input type="hidden" name="action" value="edit" />
    491491            <label for="menu" class="selected-menu"><?php _e( 'Select a menu to edit:' ); ?></label>
     
    528528        <div class="clear"></div>
    529529
    530         <form id="nav-menu-meta" action="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-menu-meta" method="post" enctype="multipart/form-data">
     530        <form id="nav-menu-meta" action="" class="nav-menu-meta" method="post" enctype="multipart/form-data">
    531531            <input type="hidden" name="menu" id="nav-menu-meta-object-id" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
    532532            <input type="hidden" name="action" value="add-menu-item" />
     
    538538    <div id="menu-management-liquid">
    539539        <div id="menu-management">
    540             <form id="update-nav-menu" action="<?php echo esc_url( admin_url( 'nav-menus.php' ) ); ?>" method="post" enctype="multipart/form-data">
     540            <form id="update-nav-menu" action="" method="post" enctype="multipart/form-data">
    541541                <div class="menu-edit <?php if ( $add_new_screen ) echo 'blank-slate'; ?>">
    542542                    <?php
Note: See TracChangeset for help on using the changeset viewer.