[wp-trac] [WordPress Trac] #46957: Site Health: Make site health page access be filterable

WordPress Trac noreply at wordpress.org
Fri May 10 01:37:35 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:  5.2
 Severity:  normal                 |  Resolution:
 Keywords:  site-health has-patch  |     Focuses:
-----------------------------------+---------------------

Comment (by peterwilsoncc):

 As the proposed patch is to emulate a primitive capability, it would be
 good if it was plural to follow the common patterns in WP Core: primitives
 are plural, meta caps are singular.

 It would also allow for meta caps to be added at a later date for
 individual tests/groups, for example:

 {{{
 current_user_can( 'view_health_statuses' ); // primative
 current_user_can( 'view_health_status', 'security' ); // meta
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46957#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list