Fix duplicate ID for Save Menu button on Menus screen.

props sagarjadhav.
fixes #31803.
Built from https://develop.svn.wordpress.org/trunk@31927


git-svn-id: http://core.svn.wordpress.org/trunk@31906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-03-30 09:49:26 +00:00
parent 3ddbef69e3
commit a1dbd97adb
2 changed files with 2 additions and 2 deletions

View File

@ -778,7 +778,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
</span><!-- END .delete-action --> </span><!-- END .delete-action -->
<?php endif; ?> <?php endif; ?>
<div class="publishing-action"> <div class="publishing-action">
<?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?> <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) ); ?>
</div><!-- END .publishing-action --> </div><!-- END .publishing-action -->
</div><!-- END .major-publishing-actions --> </div><!-- END .major-publishing-actions -->
</div><!-- /#nav-menu-footer --> </div><!-- /#nav-menu-footer -->

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta3-31926'; $wp_version = '4.2-beta3-31927';
/** /**
* 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.