[wp-trac] [WordPress Trac] #24962: Return the allcaps array from the get_role_caps() function
WordPress Trac
noreply at wordpress.org
Wed Oct 2 21:35:20 UTC 2013
#24962: Return the allcaps array from the get_role_caps() function
-----------------------------------+-----------------------------
Reporter: nofearinc | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Users | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25673"]:
{{{
#!CommitTicketReference repository="" revision="25673"
`WP_User::get_role_caps()` now returns the caps it was already setting.
The method was previously just setting `$allprops` and requiring that
property to be read.
Props nofearinc.
Fixes #24962.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24962#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list