[wp-trac] [WordPress Trac] #46957: Site Health: Make site health page access be filterable
WordPress Trac
noreply at wordpress.org
Thu May 30 22:27:01 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 needs-refresh | Focuses:
-------------------------------------------------+-----------------------
Comment (by Clorith):
As we've not seen anything more movement, we'll make the cut now.
We'll be mapping this to the existing `install_plugins` capability as the
safest approach, this ensures that those that can act on issues are the
ones to see the health statuses (this is particularly true for multisite
setups, where the network admin is the only one with this capability by
default). This is also what is currently used in core by the Site Health
module).
As for capability name, let's indeed stick with the WP conventions (as
there are multiple checks, this makes sense), and use
`view_site_health_checks` sounds good here, as it's descriptive of what
you are doing. This is essentially what was proposed in comment:9 but I
wanted to avoid the term status/statuses due to how pluralization of that
works in English.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46957#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list