Describe the bug
What's happening:
When you reorder menu items in the WordPress admin, the changes are reflected correctly for level 1 and level 2 items — but level 3 (and deeper) items always appear in the wrong order, no matter what you set in WordPress.
Expected:
The menu renders in the same order as configured in WordPress, at all nesting levels.
Steps to Reproduce
- Create a nav menu with at least 3 levels of nesting
- Add a few items at the 3rd level
- Reorder them in the WordPress menu editor and save
- Check the rendered menu — the order hasn't changed
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
Describe the bug
What's happening:
When you reorder menu items in the WordPress admin, the changes are reflected correctly for level 1 and level 2 items — but level 3 (and deeper) items always appear in the wrong order, no matter what you set in WordPress.
Expected:
The menu renders in the same order as configured in WordPress, at all nesting levels.
Steps to Reproduce
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct