[wp-trac] [WordPress Trac] #36376: current_user_can/has_cap fails when user has multiple roles

WordPress Trac noreply at wordpress.org
Mon Jan 14 04:46:22 UTC 2019


#36376: current_user_can/has_cap fails when user has multiple roles
-------------------------------------------+-----------------------------
 Reporter:  mikejolley                     |       Owner:  dd32
     Type:  defect (bug)                   |      Status:  accepted
 Priority:  normal                         |   Milestone:  Future Release
Component:  Role/Capability                |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  dev-feedback needs-unit-tests  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by pento):

 * keywords:  has-unit-tests dev-feedback => dev-feedback needs-unit-tests
 * milestone:  5.1 => Future Release


Comment:

 This requires significantly more testing and consideration.

 Unit tests would also help a lot.

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


More information about the wp-trac mailing list