diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 3503ae3cec..3ec5fc669a 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -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);