[wp-trac] [WordPress Trac] #46957: Site Health: Make site health page access be filterable
WordPress Trac
noreply at wordpress.org
Sun Jun 9 09:24:21 UTC 2019
#46957: Site Health: Make site health page access be filterable
--------------------------------------------------+-----------------------
Reporter: Clorith | Owner: Clorith
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.2.2
Component: Administration | Version: 5.2
Severity: normal | Resolution:
Keywords: site-health has-patch has-unit-tests | Focuses:
--------------------------------------------------+-----------------------
Comment (by spacedmonkey):
@peterwilsoncc why did you change it so that only superadmin have access
to this functionality? The capability check is much more flexible and easy
to manage. As a maintainer of multisite, I can tell you we are trying to
get rid of check to super admin where possible.
Worth nothing, in multisite, the only users that do have install plugins
capability by default are super admins. So the check is pointless anyway.
If you have given the install plugins capability to a role, they should
see the health check screen, the same as single site.
Otherwise this patch seems fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46957#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list