One modal: the menu as this role would see it, a table of every item, and a count of what is hidden or blocked in the draft.
Changed
- Hide and Block now read the same way. On means the role keeps it. They had been inverted, so turning a switch on took the item away. The columns are In menu and Access.
- Blocked and not granted are no longer the same sentence. An item the live role holds and the draft removes reads Blocked. An item the role never had reads Not granted.
- An item the role cannot reach no longer looks like a broken switch. It reads Not in menu, and comes alive if you grant access.
- Switches show their on state, including inside the modal, and menu titles no longer display raw HTML entities.
- An open draft is no longer thrown away when you select another role or leave the page. It asks, and names the cost.
- Role reassignment from this screen no longer fails on a mismatched parameter, and New role sits beside Compare roles.
Requires WordPress 6.0+ and PHP 7.4+.