Menu items get corrupted when editing menu (not for the usual reasons)
-
With javascript enabled, if I go to Appearance->Menus and make any changes to the menu (whether adding links or rearranging the hierarchy), it breaks in a really annoying way. It doesn’t just fail to save the changes, it actually destroys the existing menu. It turns some of the the “page” items into “Custom Links”, and removes all data from those items, so that in the editor they are still there but blank. Those items are then absent from the menu when viewing the site. It also messes up the hierarchy, moving child items to parent positions, etc.
This happens with all plugins disabled using the default theme.
Users have reported it happening when they do not even use the menu editor but after editing other parts of the site. The menu “goes wrong” and then when I look in the menu editor I see that the above has happened.
The standard solutions don’t apply – max_input_vars is set very high (>4000) and I only have one menu with a handful of items. I don’t have the Stealth Publish plugin.
It may have something to do with Javascript because if I disable JS and then create a menu, it works. However, I don’t see any way to make the menu hierarchical without JS. So I am currently making manual changes in the MySQL database to create the hierarchy, with is laborious.
- The topic ‘Menu items get corrupted when editing menu (not for the usual reasons)’ is closed to new replies.