Support » Plugin: Admin Menu Editor » Compatibility with View Admin As

  • Resolved Jay Collier


    I’ve found View Admin As very helpful in previewing admin menus for different users. However, when I activate Admin Menu Editor, admin submenus are collapsed to a narrow black bar with no text.

    Have you used View Admin As? Have you discovered any conflicts? I’d love to use both!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Janis Elsts


    Thank you for the report. After a bit of testing, I think this problem might be related to the fact that View Admin As does not seem to support the special exist capability.

    WordPress automatically grants this internal capability to *all* roles and users. Normally, you can’t assign or remove the capability; it’s just always “on”. This fact makes it uniquely useful for certain development tasks. Admin Menu Editor uses it when setting permissions for the customized admin menu.

    When you use the “View as” feature, View Admin As unintentionally denies the exist capability to all roles. Combined with the fact that AME uses this capability in many menu items, it makes WordPress hide much of the admin menu.

    The best solution would be to modify View Admin As to explicitly allow the exist capability when it uses the map_meta_cap filter.

    Hi @whiteshadow,

    Thanks for your research! I’ll make sure to fix this in the next update!
    I already added a patch to the dev branch which should fix the issue you are describing:

    @jcollier If you are able, could you test the dev version from GitHub and let me know if your issue is fixed?

    Thanks, Jory

    Plugin Author Janis Elsts


    @keraweb I can confirm that, at least on my test site, the patch fixes the problem.

    Thread Starter Jay Collier


    I am sorry for the delay.

    Yes, @keraweb, I can also confirm the dev version removes the conflict with Admin Menu editor.

    Thank you both for demonstrating the kind of collaboration that premeates the WordPress community.

    • This reply was modified 3 years, 6 months ago by Jay Collier.

    Thanks @whiteshadow & @jcollier!

    I’ll make sure to wrap up this release a.s.a.p.

    Regards, Jory

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Compatibility with View Admin As’ is closed to new replies.