3 require_once('admin.php');
5 check_admin_referer('update-profile_' . $user_ID);
10 $errors = edit_user($user_ID);
12 if (count($errors) != 0) {
13 foreach ($errors as $id => $error) {
14 echo $error . '<br/>';
19 if ( !isset( $_POST['rich_editing'] ) )
20 $_POST['rich_editing'] = 'false';
21 update_user_option( $current_user->id, 'rich_editing', $_POST['rich_editing'], true );
23 do_action('personal_options_update');
25 if ( 'profile' == $_POST['from'] )
26 $to = 'profile.php?updated=true';
28 $to = 'profile.php?updated=true';