Deactivating custom post types/taxonomies breaks nav menus
|Reported by:||WraithKenny||Owned by:||ocean90|
Description (last modified by scribu)
Deactivating a plugin that registers custom post types and taxonomies with are added to the nav menu breaks the nav menu admin screen and the site. Not sure if anything else gets borked from this process.
Steps to reproduce:
- Add a plugin that does custom post types/taxonomies.
- create an entry.
- add taxonomy to menu.
- deactivate plugin.
Turning on the plugin appears to fix the issue.
One of the symptoms:
Notice: Trying to get property of non-object in /home/cristi/svn/wp/wp-includes/nav-menu.php on line 565