[wp-trac] [WordPress Trac] #34639: Hook docs for `user_has_cap` are being ignored
WordPress Trac
noreply at wordpress.org
Mon Nov 9 22:03:12 UTC 2015
#34639: Hook docs for `user_has_cap` are being ignored
--------------------------+-----------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: lowest | Milestone: 4.4
Component: Users | Version:
Severity: trivial | Keywords: has-patch
Focuses: docs |
--------------------------+-----------------------
See https://developer.wordpress.org/reference/hooks/user_has_cap/.
It's probably because of the `// Must have ALL requested caps` line in
[source:/tags/4.3.1/src/wp-includes/capabilities.php#L1062]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34639>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list