Fire an action to allow extra Profile fields to be processed. Fixes #7713 props capripot.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b31aa3f568
commit
4fbc4584cd
|
@ -134,9 +134,10 @@ check_admin_referer('update-user_' . $user_id);
|
|||
if ( !current_user_can('edit_user', $user_id) )
|
||||
wp_die(__('You do not have permission to edit this user.'));
|
||||
|
||||
if ( $is_profile_page ) {
|
||||
if ($is_profile_page)
|
||||
do_action('personal_options_update');
|
||||
}
|
||||
else
|
||||
do_action('edit_user_profile_update');
|
||||
|
||||
$errors = edit_user($user_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue