[wp-trac] [WordPress Trac] #30852: Inconsistent docs for `WP_User::allcaps`

WordPress Trac noreply at wordpress.org
Sun Dec 28 03:22:22 UTC 2014


#30852: Inconsistent docs for `WP_User::allcaps`
-----------------------------+-----------------------------
 Reporter:  dlh              |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:  docs             |
-----------------------------+-----------------------------
 The `WP_User::allcaps` property is "all capabilities the user has,
 including individual and role based," but the `$allcaps` parameter in the
 "user_has_cap" filter is documented as a role's capabilities. This patch
 updates the filter to match.

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


More information about the wp-trac mailing list