From 26439dd788721675af81f823142b9b295bbc7b05 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 6 May 2020 19:33:45 +0000 Subject: [PATCH] Menus: Add a Cancel link to the screen for creating a new menu. The use case this helps the most is when there's only one menu and you click "create a new menu". In this case the Cancel link allows you to go back to the single existing menu. Props garrett-eclipse, audrasjb. Fixes #46367. git-svn-id: https://develop.svn.wordpress.org/trunk@47770 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/nav-menus.php | 65 +++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 26 deletions(-) diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index a865ac43e5..6f33cd7321 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -887,7 +887,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';