WordPress.org

Make WordPress Core

Changeset 31927


Ignore:
Timestamp:
03/30/2015 09:48:15 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Fix duplicate ID for Save Menu button on Menus screen.

props sagarjadhav.
fixes #31803.

File:
1 edited

Legend:

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

    r31748 r31927  
    779779                            <?php endif; ?>
    780780                            <div class="publishing-action">
    781                                 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?>
     781                                <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) ); ?>
    782782                            </div><!-- END .publishing-action -->
    783783                        </div><!-- END .major-publishing-actions -->
Note: See TracChangeset for help on using the changeset viewer.