Fire an action to allow extra Profile fields to be processed. Fixes #7713 props capripot.
git-svn-id: https://develop.svn.wordpress.org/trunk@9191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
30591ea199
commit
19af661b21
@ -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
Block a user