WordPress.org

Forums

Admin Menu Editor
Doesn't seem to work with 3.8.1 (3 posts)

  1. stephanebeck
    Member
    Posted 1 year ago #

    Hi,

    I spent about 2h testing and playing around with the plugin, on a live site and on localhost, on a plugin loaded install, and on a fresh 3.8.1 install... but it doesn't seem to work for me. Maybe am I missing something?

    • I create a new user with the Editor role
    • Then under Settings › Menu Editor I make a simple change : set the edit_posts capability (which editors have) on the Appearance menu and its Menus submenu... now all editors should be able to manage menus, am I right?
    • But no Appearance menu appears when the editor is logged in

    Please advise! This plugin looks awesome but...

    Thanks

    https://wordpress.org/plugins/admin-menu-editor/

  2. Janis Elsts
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, that's a limitation of how menu permissions work in the free version of the plugin. When you set the capability on a menu item, it adds that capability as an extra requirement for accessing the menu. However, the original required capability still stays in effect. (Technical note: in most cases, the original capability is hard-coded either in WordPress core or the plugin that created the menu item, and it can't really be changed without editing the source code.)

    For example, normally you would need the switch_themes capability to see the Appearance menu. If you set the "Required capability" field to edit_posts, it means that only roles that have *both* the switch_themes and edit_posts capabilities will be able to access it. Basically, you can restrict menu permissions but not broaden them.

    (The Pro version solves this by automatically granting the required capability to the selected role(s).)

  3. stephanebeck
    Member
    Posted 1 year ago #

    Thanks for the clarification Janis. Maybe this should be mentioned somewhere in the plugin so people know what to expect from the free version while validating their changes. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Admin Menu Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic