With global terms enabled, Nav Menu term_id saves as 0
|Reported by:||ev3rywh3re||Owned by:||wpmuguru|
I guess I will get bitten by the most obscure WordPress bugs ever. I'm also prone to try something stupid. :P
I've set up a WordPress MS site at http://funroe.net running in sub-directory mode. For some reason menus do not work on sub-directory MS site at http://funroe.net/projects. Every time you make a menu and save the the term_id would become 0. This causes all menus to break completely.
Of course I suspected some database corruption since this site is old and a WPMU convert that has been running of trunk for a while. To clean it out as much as I could I even did an WordPress export and import to another site running in a subdirectory at http://work.funroe.net/wpmu_t/converter/ the WP MS root is at http://work.funroe.net/wpmu_t/. Menus work as expected.
Converted and moved the DB tables back to the Main site at http://funroe.net/projects and the menus will revert to term_id 0 on save. The DB autoindex looks good and initial creation seems fine, but something tricks the custom taxonomy to go to 0.
This seems to only occur on a domain using multisite sub-directory mode on the root directory. WordPress multisite in sub-directory mode in a sub-directory seems to work fine. This is the case for all sub-sites even new ones.
I'm going to try to test this issue on a fresh install of a root domain somewhere as soon as I get time.
Change History (15)
- Summary changed from Multisite sub-directory mode in root directory Nav Menu term_id saves as 0 killing menu to With global terms enabled, Nav Menu term_id saves as 0