Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider syncing capability checks #7

Open
tw2113 opened this issue Apr 29, 2020 · 1 comment
Open

Consider syncing capability checks #7

tw2113 opened this issue Apr 29, 2020 · 1 comment
Milestone

Comments

@tw2113
Copy link
Member

tw2113 commented Apr 29, 2020

We check for manage_options for the admin screen, but install_plugins for the actual action of running the switching.

Perhaps make install_plugins the requirement to even see the admin screen?

Original issue:
https://wordpress.org/support/topic/does-not-respect-capabilities-canyou-please-fix-asap/#post-12748575

@sc0ttkclark
Copy link
Contributor

I suggest manage_options should be the capability used for both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants