From bed17098b82cf557481bc90a66e32b7d87895ce1 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Wed, 4 Aug 2021 04:59:46 +0000 Subject: [PATCH] Menus: Hide bulk-select on new menu page. Prevent the bulk-select option from displaying when adding a new menu. This also prevents the option from displaying when an administrator first visits the menu page and no menus are set. Props dlh, sabernhardt. Fixes #53654. git-svn-id: https://develop.svn.wordpress.org/trunk@51539 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/nav-menus.php | 40 +++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index 950499fde1..272aa9b9e6 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -981,12 +981,16 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
>

- + + + + + -