[wp-trac] [WordPress Trac] #46957: Site Health: Make site health page access be filterable
WordPress Trac
noreply at wordpress.org
Fri Apr 26 21:13:23 UTC 2019
#46957: Site Health: Make site health page access be filterable
-----------------------------------+---------------------
Reporter: Clorith | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.2.1
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: site-health has-patch | Focuses:
-----------------------------------+---------------------
Comment (by birgire):
Another note is the wording of the {{{site_health}}} capability suggestion
in [attachment:"46957.diff"]:
{{{
if ( ! current_user_can( 'site_health' ) ) {
}}}
It feels like it's missing the verb part, like to {{{view_site_health}}}
or to {{{access_site_health}}} or something similar.
Like we have with the existing {{{install_plugins}}} capability.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46957#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list