show_in_menu has some menu selection issues
|Reported by:||nacin||Owned by:||duck_|
|Component:||Posts, Post Types||Keywords:||has-patch commit|
I have an employees post type with show_in_menu set to 'users.php'. This hides the Add New menu, as expected, and nests "Employees" under Users.
post-new.php?post_type=employees doesn't trigger any item in the menu from being selected. This is expected.
However, post.php?post=100&action=edit does show the Employees submenu as selected -- but not the rest of the menu. This is unexpected. The entire menu should be selected.
(Think of it as consistent with Posts, only lacking an "Add New" submenu -- that's the responsibility of the developer.)
Change History (10)
- Keywords has-patch needs-testing added