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:
Peter Westwood 2008-10-15 21:10:55 +00:00
parent 30591ea199
commit 19af661b21
1 changed files with 3 additions and 2 deletions

View File

@ -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);