summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/profile-update.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-18 13:31:37 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-18 13:31:37 +0000
commit2b56b90f06b0018f0dba866e2d799cda640d9597 (patch)
tree5c7ff6836df5f6a9539847b49738e5665c06e498 /wp-inst/wp-admin/profile-update.php
parent2f31acafe53edd3619b85a16fe1692dee7339a6b (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@439 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/profile-update.php')
-rw-r--r--wp-inst/wp-admin/profile-update.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/wp-inst/wp-admin/profile-update.php b/wp-inst/wp-admin/profile-update.php
index 1b5f412..77d5267 100644
--- a/wp-inst/wp-admin/profile-update.php
+++ b/wp-inst/wp-admin/profile-update.php
@@ -4,6 +4,9 @@ require_once('admin.php');
check_admin_referer();
+if ( !$_POST )
+ die( __('No post?') );
+
$errors = edit_user($user_ID);
if (count($errors) != 0) {
@@ -13,6 +16,12 @@ if (count($errors) != 0) {
exit;
}
+if ( !isset( $_POST['rich_editing'] ) )
+ $_POST['rich_editing'] = 'false';
+update_user_option( $current_user->id, 'rich_editing', $_POST['rich_editing'], true );
+
+do_action('personal_options_update');
+
if ( 'profile' == $_POST['from'] )
$to = 'profile.php?updated=true';
else