[wp-trac] [WordPress Trac] #24490: Pass $this to WP_User::has_cap()'s "user_has_cap" filter
WordPress Trac
noreply at wordpress.org
Tue Sep 10 22:22:35 UTC 2013
#24490: Pass $this to WP_User::has_cap()'s "user_has_cap" filter
---------------------------------+-----------------------------
Reporter: Viper007Bond | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.7
Component: Role/Capability | Version: 3.5.1
Severity: normal | Resolution: fixed
Keywords: has-patch 3.7-early |
---------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25329"]:
{{{
#!CommitTicketReference repository="" revision="25329"
Add an additional available param (the `WP_User` instance) to the
`user_has_cap` filter.
Props Viper007Bond.
Fixes #24490.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24490#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list