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

WordPress Trac noreply at wordpress.org
Mon Mar 13 05:31:31 UTC 2017


#38653: Trigger a doing it wrong when checking a role name as a capability
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  low                                  |   Milestone:  Awaiting
Component:  Role/Capability                      |  Review
 Severity:  normal                               |     Version:
 Keywords:  needs-patch needs-unit-tests good-   |  Resolution:
  first-bug                                      |     Focuses:
-------------------------------------------------+-------------------------

Comment (by fibonaccina):

 @johnbillion I attached a proof of concept change in 38653.diff and unit
 tests. Let me know if you were thinking about a more involved check than
 this.

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


More information about the wp-trac mailing list