I just updated to version 1.3.1 and suddenly there are menu items for custom post types I created that I can’t move or delete. When I do so and save from Admin Menu Editor, they come right back. Specifically they are custom post types I had moved to be submenu options for one main menu item. It’s as if the custom post type has to have an element on the main level of items.
Make sense? Any idea what would cause this–it’s been working fine up until now.
So are you trying to move them or delete them? You should be able to move items; if they get moved back then it’s probably a bug.
On the other hand, not being able to delete pre-existing menu items is normal. You can only delete items that have been created with AME. Other menu items will get restored automatically.
There are two main reasons why it works like that:
It protects people from permanently losing access to menus that were deleted by accident.
Due to how the WordPress admin menu is implemented, it’s physically impossible to truly delete a menu without modifying WordPress/plugin source code. All AME can do is hide them. So if you need to get rid of a menu, hide it instead of deleting it.
Previous versions of the plugin had a bug that would sometimes prevent it from restoring deleted items, which was fixed in 1.3.1.