Don't show two 'Create Menu' buttons on nav-menus.php. fixes #16715.
git-svn-id: https://develop.svn.wordpress.org/trunk@17543 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
20b7808094
commit
3697db55bc
@ -593,7 +593,10 @@ require_once( './admin-header.php' );
|
|||||||
<div id="nav-menu-footer">
|
<div id="nav-menu-footer">
|
||||||
<div class="major-publishing-actions">
|
<div class="major-publishing-actions">
|
||||||
<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 ); ?>
|
<?php
|
||||||
|
if ( ! empty( $nav_menu_selected_id ) )
|
||||||
|
submit_button( __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false );
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /#nav-menu-footer -->
|
</div><!-- /#nav-menu-footer -->
|
||||||
|
Loading…
Reference in New Issue
Block a user