diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-07 12:37:04 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-07 12:37:04 +0000 |
| commit | d510632e9f07cec9ac3de3b5dafc56bd58c81b8a (patch) | |
| tree | b4944ea6ceed3a73977f9edeae40f8174a4bab29 /wp-admin/profile-update.php | |
| parent | 74e848ef222ada441de10e1db012988d1904b3ca (diff) | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@804 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/profile-update.php')
| -rw-r--r-- | wp-admin/profile-update.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/wp-admin/profile-update.php b/wp-admin/profile-update.php index 944f799..d4fd657 100644 --- a/wp-admin/profile-update.php +++ b/wp-admin/profile-update.php @@ -17,9 +17,11 @@ if ( is_wp_error( $errors ) ) { exit; } -if ( !isset( $_POST['rich_editing'] ) ) - $_POST['rich_editing'] = 'false'; -update_user_option( $current_user->id, 'rich_editing', $_POST['rich_editing'], true ); +if ( rich_edit_exists() ) { + if ( !isset( $_POST['rich_editing'] ) ) + $_POST['rich_editing'] = 'false'; + update_user_option( $current_user->id, 'rich_editing', $_POST['rich_editing'], true ); +} if ( isset( $_POST['primary_blog'] ) ) { $primary_blog = (int) $_POST['primary_blog']; |
