[wp-trac] [WordPress Trac] #36376: current_user_can/has_cap fails when user has multiple roles
WordPress Trac
noreply at wordpress.org
Fri Apr 1 16:58:56 UTC 2016
#36376: current_user_can/has_cap fails when user has multiple roles
-------------------------------------------------+-------------------------
Reporter: mikejolley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Role/Capability | Review
Severity: normal | Version:
Keywords: has-patch dev-feedback needs-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by mikejolley):
@jubstuff did you use customer role? The order of the roles is also
important (author primary).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36376#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list