Support » Plugin: Nested Pages » Menu Options button not showing in Quick Edit menu for Editor

  • Resolved sitestreet

    (@sitestreet)


    Hi there

    Excellent plugin which is exactly what I’ve been looking for.

    I’ve hit a problem where a user with ‘Editor’ privileges can’t see the ‘Menu Options’ button when clicking ‘Quick View’. I have ticked the box to allow editors to allow page sorting but that hasn’t made any difference.

    Can you tell me how I can make this visible for them? I really want to avoid upgrading their privileges.

    Many thanks

    Jon

    https://wordpress.org/plugins/wp-nested-pages/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    Hi Jon,
    This is an oversight on my part, and will be resolved in the next patch release. Thanks for bringing it to my attention.

    In the meantime, if you’re on a time crunch and are comfortable editing files, it’s a relatively simple fix:

    Open the following file: wp-nested-pages/views/quickedit.php

    On line 111, change the following:
    <?php if ( current_user_can('edit_theme_options') ) : // Menu Options Button ?>
    to:
    <?php if ( $this->user->canSortPages() ) : // Menu Options Button ?>

    The same change can be made on line 144.

    At that point, editors will have access to menu options.

    Plugin Author Kyle Phillips

    (@kylephillips)

    This has been resolved in version 1.1.9. Thanks again for pointing it out!

    Thread Starter sitestreet

    (@sitestreet)

    Hi Kyle

    Huge thanks for the speedy solution. I have updated and asked one of the editors to check it out.

    Thanks again. Top plugin.

    Jom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu Options button not showing in Quick Edit menu for Editor’ is closed to new replies.