[wp-trac] [WordPress Trac] #30852: Incorrect docs for `user_has_cap` filter (was: Inconsistent docs for `WP_User::allcaps`)
WordPress Trac
noreply at wordpress.org
Sun Dec 28 04:03:51 UTC 2014
#30852: Incorrect docs for `user_has_cap` filter
-----------------------------+-------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Role/Capability | Version: 3.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
-----------------------------+-------------------
Changes (by johnbillion):
* keywords: => has-patch
* version: trunk => 3.8
* milestone: Awaiting Review => 4.2
Comment:
The `allcaps` property of the `WP_User` class does indeed represent all of
the caps of the user, not the caps of the user's role. Introduced in
r26126.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30852#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list