Fix: Top-level display of hidden child menu items of hidden parent menu items.
2.1.0
New: Add support for “hiding” a menu item by role.
2.0.2
Fix: PHP Fatal error: Uncaught Error: Call to undefined method WP_Customize_Manager::settings_previewed(). settings_previewed() does not exist until WordPress 3.9.0+.
2.0.1
Tweak: Alphabetically sort role names.
2.0.0
New: Customizer support! props @westonruter!
1.10.2
Fix: Strict array typecasting for nav menu classes.
1.10.1
Fix: Only auto-apply classes on front-end. Prevents appending duplicate classes on each save.
1.10.0
Fix: My hook made it into core for WP5.4!! Can finally stop overriding the admin menu Walker.
1.9.5
Fix: PHP Notice: Undefined variable $item
1.9.4
Add the NMR roles as css classes to the menu output
Improve menu editor role checkbox list UX, by making list items full-width. Props @lkraav
1.9.3
Check all object properties exist before accessing. Resolves PHP notices for custom menu items.
1.9.2
Include a !empty() check on menu $items
Update donation link
1.9.1
Update donation link
Update required and tested against versions
1.9.0
Add support for multisite. Props @open-dsi and @fiech.
1.8.5
Use new Walker for WP4.7
1.8.4
Prevent nav menu items edited in the customizer from rendering when they should be excluded
1.8.3
Remove deprecated screen_icon()
1.8.2
Reduce number of parameters passed to add_action_links filter
1.8.1
Switch input names to use a counter [nav-menu-role][100][1]. For some reason [nav-menu-role][100][] doesn’t post an array and hypenated names [nav-menu-role][100][gold-plan] wreak havoc on the save routine. Shouldn’t impact anyone not using hyphenated role names.
1.8.0
Fix style issue in WordPress 4.5
1.7.9
revert priority of walker back to default because themes are not actually using the hook to add their own fields. sadface.
1.7.8
remove all admin notices
1.7.7
add fancy debug messages
1.7.6
tweak CSS to initially hide checkboxes on newly added menu items (defaults to “Everyone” so roles should not appear)
1.7.5
Update Walker_Nav_Menu_Edit_Roles to mimic Walker_Nav_Menu in WordPress 4.4
1.7.4
Change language in metabox to try to explain min caps versus strict role checking
keep tweaking the FAQ
1.7.3
update readme, update error notice, add more links to the FAQ
1.7.2
add Italian language. props @sododesign
1.7.1
Updated FAQ with patch instructions for conflicting plugins/themes
add Portugeuse language. props @brunobarros
1.7.0
adjust admin UI to be more user-friendly. Options are now: show to everyone, show to logged out users, and show to logged in users (optionally, logged in users by specific role)
1.6.5
add Guajarati language. props @rohilmistry93
1.6.4
more language issues -> sync svn+git version numbers
1.6.3
Try again to add languages. Where’d they all go?
1.6.2
Add French translation. Props @Philippe Gilles
1.6.1
Update list of conflits
Don’t display radio buttons if no roles – allows for granular permissions control
1.6.0
Feature: Hiding a parent menu item will automatically hide all its children
Feature: Add compatibility with Menu Item Visibility Control plugin and any plugin/theme that is willing to add its inputs via the wp_nav_menu_item_custom_fields hook. See the FAQ to make our plugins compatible.