Opened 2 months ago
Last modified 11 days ago
#63796 new enhancement
Accidentally deleted Entire Menu and there’s no way to restore!!!
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | ui, administration | Cc: |
Description
Hi, I’d like to suggest an UX improvement for the next update, because this is not the first time I accidentally remove the entire menu instead of just a menu item and it’s extremely frustrating!
For context: in some non-English languages a “menu item” is often referred to as just a “menu”, which makes it easy to make mistakes in the admin panel.
In the classic menu management, under Appearance > Menus, when I want to delete a new menu item that I added in error, because of the layout, it is too easy to click “Remove” menu by mistake, and by the time I realise that what I confirmed deletion of was NOT the menu item but the entire menu, it’s too late because there’s no way to undo/restore.
This problem occurs when one scrolls only half-way down to the menu item that needs removing (not completely to the bottom of the page) which can easily result in having the “Remove | Cancel” links of the menu item appear directly above the line with the “Save Menu” “Delete Menu” button+link that applies to the entire menu with all items in it.
I would like to suggest to move “Delete Menu” (which deletes the entire menu including all its translations – and on some sites this could mean quite a lot of menus to restore manually!!) to the right of the screen, as far AWAY from the menu items as possible so that one can NEVER click on it by mistake unless they REALLY want to delete the entire menu!
If “Delete Menu” was further to the right, the worst that could happen by accident is clicking on “Save Menu” unintentionally, which just refreshes the page.
This could save quite a lot of aggravation.
Thank you in advance for considering.
Best regards
Change History (2)
#2
@
11 days ago
I actually built a plugin for this exact reason called Menu Backup & Restore. https://wordpress.org/plugins/menu-backup-restore/
It automatically saves a backup every time a menu is updated, so if someone changes or deletes a menu by mistake, you can restore it in one click. The latest update (v1.0.1) also records which user saved the menu, which really helps with accountability when multiple admins are involved.
Honestly, something like this should be part of WordPress core — any site with more than one admin should have it installed. It’s lightweight, free, and has already saved me and others a lot of hassle.
Another point: the proximity of destructive actions like “Delete Menu” to frequently used links like “Remove” may also be an accessibility concern. Moving it further away or styling it more distinctly could benefit all users, not just non-English speakers.