Don't show two 'Create Menu' buttons on nav-menus.php. fixes #16715.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bd6fe3c99c
commit
28f5f2357c
|
@ -593,7 +593,10 @@ require_once( './admin-header.php' );
|
|||
<div id="nav-menu-footer">
|
||||
<div class="major-publishing-actions">
|
||||
<div class="publishing-action">
|
||||
<?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false ); ?>
|
||||
<?php
|
||||
if ( ! empty( $nav_menu_selected_id ) )
|
||||
submit_button( __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false );
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /#nav-menu-footer -->
|
||||
|
|
Loading…
Reference in New Issue