[wp-trac] [WordPress Trac] #10716: New hook for user role change
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 1 19:11:59 UTC 2009
#10716: New hook for user role change
-----------------------------+----------------------------------------------
Reporter: usermrpapa | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8.5
Component: Role/Capability | Version: 2.8.4
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
It would be nice to have an action to hook into for user role changes. We
have a plugin that cares about role changes as a way of controlling
features/access in a plugin.
I can grab role changes just fine if they are made on the users profile
page (user-edit.php) via one of the profile hooks, but if the changes are
made to roles via the user bulk changes editor (users.php), there isn't a
way (unless I have just missed it) to know that any user roles were
changed.
I have opened this ticket for 2.8.5, but not sure how its potentially
affected by the upcoming roles/capabilities changes slated for 2.9.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10716>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list