Issue with admin page hierarchy in Menu admin
|Reported by:||hcceast||Owned by:|
Under Appearance > Menus in the left column under Pages, if I have more than 50 pages, the hierarchy view gets messed up. The issue seems to be related to paginate.
If I change the "50" on lines 589 and 809 of wp-admin/includes/nav_menu.php to "955" the hierarchal admin menu works with 50+ pages.
Attached are two XML files. One contains 50 pages and the other contains 53 pages. I've loaded them into fresh installs of 3.2.1 using the twenty eleven theme and no plugins.
Paginate is great if it works right, if it won't work, just increase the number per page to something very high and people can scroll. I'd rather scroll than not have hierarchy work right.
Link to 50 page XML -- http://cloud.hcc.me/0g3X3O310s3l3i2N363n
Link to 53 page XML -- http://cloud.hcc.me/302e0c391A14193m2V2e
Pastebin of wp-admin/includes/nav_menu.php -- http://pastebin.com/0FRAmMkS
Change History (38)
- Version changed from 3.2.1 to 3.4
comment:10 @SergeyBiryukov — 3 years ago
- Owner Andrew Smith deleted
- Status changed from new to reviewing