[wp-trac] [WordPress Trac] #30852: Incorrect docs for `user_has_cap` filter

WordPress Trac noreply at wordpress.org
Wed Dec 31 18:14:09 UTC 2014


#30852: Incorrect docs for `user_has_cap` filter
-----------------------------+-----------------------------
 Reporter:  dlh              |       Owner:  wonderboymusic
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.2
Component:  Role/Capability  |     Version:  3.8
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:  docs
-----------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31013"]:
 {{{
 #!CommitTicketReference repository="" revision="31013"
 Fix docs for `WP_User::allcaps`:

 The `allcaps` property of the `WP_User` class represents all of the caps
 of the user, not the caps of the user's role. Introduced in [26126].

 Props dlh.
 Fixes #30852.
 }}}

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


More information about the wp-trac mailing list