[wp-trac] [WordPress Trac] #10430: Add hooks for edit_user after updating the user's profile

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 17 12:10:47 UTC 2009


#10430: Add hooks for edit_user after updating the user's profile
--------------------------------------------+-------------------------------
 Reporter:  neoxx                           |        Owner:          
     Type:  defect (bug)                    |       Status:  reopened
 Priority:  normal                          |    Milestone:  2.8.2   
Component:  Users                           |      Version:  2.8.1   
 Severity:  normal                          |   Resolution:          
 Keywords:  profile, user, hook, has-patch  |  
--------------------------------------------+-------------------------------
Changes (by neoxx):

  * status:  closed => reopened
  * resolution:  invalid =>
  * milestone:  => 2.8.2


Comment:

 well, if you speak about

 {{{
 do_action('personal_options_update', $user_id);
 }}}

 and

 {{{
 do_action('edit_user_profile_update', $user_id);
 }}}

 these hooks are executed before the actual update occurs. - thus, if you
 implement one of them, it will return the user's old metadata, in my case
 his/her previous set url...

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


More information about the wp-trac mailing list