Accidentally deleted Entire Menu and there’s no way to restore!!!
-
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.
When I want to delete a new menu item that I added in error, since new menu items get added to the bottom of a menu, it is too easy to just scroll to the bottom of the page and click the “Delete Menu” link instead of the “Remove” menu item – 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.
Can you please 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!Thank you
-
Thank you very much for your suggestion. I’m just not sure which surface you’re talking about?
There is the classic menu management in WordPress which can be found on the left under Appearance. But also the administration in the Site Editor.
Plugins and some themes also come with their own. So it would be good to know exactly which interface you are referring to?
Hi, this happened in under Appearance > Menus so I think that’s the classic menu management. The problem can occur 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. 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.
I understand your concern. To ensure that developers who could address this issue are aware of your request, I would recommend submitting it as a ticket with all the details in Core Trac: https://core.trac.wordpress.org/newticket
I’ve done the same thing before and know how frustrating it is. Sadly, once a menu is deleted there’s no built-in way to get it back unless you have a site backup. I created a free plugin called Menu Backup & Restore that can’t recover your menu this time, but it will protect you in the future by automatically saving a backup every time you save or update it, so you can restore it with one click:
https://wordpress.org/plugins/menu-backup-restore/I agree- I almost click this every time I delete a menu item. The other day I did not catch myself and deleted the whole menu – really bad UI….especially since there is never room for the item to expand and show the REMOVE link when you have just FIVE items in your menu.
You must be logged in to reply to this topic.