Opened 10 years ago
Closed 10 years ago
#29252 closed defect (bug) (duplicate)
nav_menu problem with post_parent in menu editor
Reported by: | pawel.garbarz | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9.2 |
Component: | Menus | Keywords: | |
Focuses: | Cc: |
Description
In menu editor wp-admin/nav-menus.php in tab 'View all' if there is more than 50 pages/records with hierarchy there is wrong hierarchy render.
As I'm found in wp-damin/includes/nav-menu.php on line 621 we have function wp_nav_menu_item_post_type_meta_box that select from database 50 records and order it by name.
There is no ordering by parent, so sometimes it takes records with parent from different set of data (because of limit to 50 records) and menu can't render proper hierarchy.
Unfortunately changes only ordering fixing this bug only on first set of data. If on next set of data ie. first record starts with parent from first set it's still wrong hierarchy.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate of #18282, #19837, #20351, #23286, #24436, #25262, #27143, #28031.