From a0224a579d63067bba406e6eb41a870f19adb3da Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 6 May 2020 19:35:11 +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. Built from https://develop.svn.wordpress.org/trunk@47770 git-svn-id: http://core.svn.wordpress.org/trunk@47546 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/nav-menus.php | 65 ++++++++++++++++++++++++----------------- wp-includes/version.php | 2 +- 2 files changed, 40 insertions(+), 27 deletions(-) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index a865ac43e5..6f33cd7321 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -887,7 +887,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';