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

Limit admin settings page to super admins on multisite #57

Open
Zodiac1978 opened this issue Sep 2, 2024 · 0 comments
Open

Limit admin settings page to super admins on multisite #57

Zodiac1978 opened this issue Sep 2, 2024 · 0 comments

Comments

@Zodiac1978
Copy link
Contributor

With a direct link, every admin could access the network settings page.

Maybe not very problematic, but we could simply change the capability to check for on multisite like this:

is_multisite() ? 'manage_sites' : 'manage_options';

Could be a nice "Good first bug" ;)

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

1 participant