[wp-trac] [WordPress Trac] #38653: Trigger a doing it wrong when checking a role name as a capability

WordPress Trac noreply at wordpress.org
Sun Jun 25 18:58:18 UTC 2017


#38653: Trigger a doing it wrong when checking a role name as a capability
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |      Status:  closed
 Priority:  low                                  |   Milestone:
Component:  Role/Capability                      |     Version:
 Severity:  normal                               |  Resolution:  maybelater
 Keywords:  has-unit-tests has-patch 2nd-        |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 Closing as maybelater as there's no great alternative method for checking
 a user's role (apart from looking at the `roles` property directly).

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


More information about the wp-trac mailing list