[wp-trac] [WordPress Trac] #28451: current_user_can() not working properly in a network

WordPress Trac noreply at wordpress.org
Sun Jun 15 17:26:17 UTC 2014


#28451: current_user_can() not working properly in a network
-----------------------------+------------------------------
 Reporter:  yurig            |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.9.1
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by nacin):

 See map_meta_cap() for where this occurs. What's stored in the DB and
 attached to the user is "raw," before it gets processed by the API.

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


More information about the wp-trac mailing list