[wp-trac] [WordPress Trac] #9795: Pass user id/user object to actions and filters in wp-admin/user-edit.php

WordPress Trac wp-trac at lists.automattic.com
Tue May 12 07:52:15 GMT 2009


#9795: Pass user id/user object to actions and filters in wp-admin/user-edit.php
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:                         
     Type:  enhancement  |      Status:  new                    
 Priority:  normal       |   Milestone:  2.8                    
Component:  Users        |     Version:  2.7.1                  
 Severity:  normal       |    Keywords:  has-patch needs-testing
-------------------------+--------------------------------------------------
 wp-admin/user-edit.php file calls many actions and filters, but does not
 pass user id nor user object to most of then. Of course plugins can get
 user id from global variable $user_id, but more elegant solution would be
 to pass user id/user object via extra parameter while calling these
 actions/filters.

 I am attaching two patches: vs 2.7.1 and vs latest nightly build.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9795>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list