Support » Plugin: Move Nav-Menu » Add privileges for editor

  • Resolved Justin Moreland


    I like that this is now separate, but how do I add capabilities for the editor to be able to view this? It only is visible in the admin account. I could try adding:

    $role_object = get_role( 'editor' );
    $role_object->add_cap( 'edit_theme_options' );

    …but that would defeat the purpose because it would show the menu I don’t want to share.

Viewing 1 replies (of 1 total)
  • Plugin Author tormorten


    Hi Justin and thanks for your feedback.

    I’ve changed this now and made it so Editors can see the “Menus” item, as long as they have the capability delete_others_pages. The current_user_can-function lacks the flexibility to do it a proper way, so as of right now it tricks WordPress into allowing the nav-menu.php page to be loaded even though a user does not actually have the edit_theme_options capability.

    Should be availiable through an update right now 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Add privileges for editor’ is closed to new replies.