diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
index a8b8112b00..484e2d414f 100644
a
|
b
|
hr { |
889 | 889 | #media-items a.delete, |
890 | 890 | #media-items a.delete-permanently, |
891 | 891 | #nav-menu-footer .menu-delete, |
| 892 | #nav-menu-footer .menu-cancel, |
892 | 893 | #delete-link a.delete { |
893 | 894 | color: #a00; |
894 | 895 | } |
… |
… |
span.required, |
906 | 907 | #media-items a.delete:hover, |
907 | 908 | #media-items a.delete-permanently:hover, |
908 | 909 | #nav-menu-footer .menu-delete:hover, |
| 910 | #nav-menu-footer .menu-cancel:hover, |
909 | 911 | #delete-link a.delete:hover { |
910 | 912 | color: #dc3232; |
911 | 913 | border: none; |
diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php
index c2d399f42d..bf353acb99 100644
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
1003 | 1003 | </div><!-- /#post-body --> |
1004 | 1004 | <div id="nav-menu-footer"> |
1005 | 1005 | <div class="major-publishing-actions wp-clearfix"> |
1006 | | <?php if ( 0 != $menu_count && ! $add_new_screen ) : ?> |
| 1006 | <?php if ( $add_new_screen ) : ?> |
| 1007 | <span class="cancel-action"> |
| 1008 | <a class="submitcancel cancellation menu-cancel" href="<?php echo esc_url( admin_url( 'nav-menus.php' ) ); ?>"><?php _e( 'Cancel' ); ?></a> |
| 1009 | </span> |
| 1010 | <?php elseif ( 0 !== $menu_count ) : ?> |
1007 | 1011 | <span class="delete-action"> |
1008 | 1012 | <a class="submitdelete deletion menu-delete" href=" |
1009 | 1013 | <?php |