[wp-trac] [WordPress Trac] #10716: New hook for user role change

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 2 02:18:42 UTC 2009


#10716: New hook for user role change
-----------------------------+----------------------------------------------
 Reporter:  usermrpapa       |       Owner:                
     Type:  enhancement      |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Role/Capability  |     Version:  2.8.4         
 Severity:  normal           |    Keywords:  needs-patch   
-----------------------------+----------------------------------------------

Comment(by usermrpapa):

 Probably should know how to create a patch, but I dont.  I think its
 pretty much as easy as adding a

         do_action('user_role_update', $user_id);

 or some other more appropriate name in

 wp-admin/includes/user.php (around line 80 in wp 2.8.4)

 and

 wp-admin/users.php (around line 67 in wp 2.8.4)

 my wp 2.9 test site is a bit out of date (getting ready to release new
 version of our plugin), but guess I should bring it up to date.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10716#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list