diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-09 11:39:17 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-09 11:39:17 +0000 |
| commit | 75e0ccc3a64e164d036da4f71f458520ddea3b24 (patch) | |
| tree | 94f00db692e25c95030f7984c27178e1bd7e1bcd /wp-admin/profile-update.php | |
| parent | ca036ad95fc44c318275ab539a52f1eb6fddf060 (diff) | |
WP Merge - needs testing.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@797 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/profile-update.php')
| -rw-r--r-- | wp-admin/profile-update.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wp-admin/profile-update.php b/wp-admin/profile-update.php index 2c6028f..944f799 100644 --- a/wp-admin/profile-update.php +++ b/wp-admin/profile-update.php @@ -21,6 +21,11 @@ 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']; + update_user_option( $current_user->id, 'primary_blog', $primary_blog, true ); +} + do_action('personal_options_update'); if ( 'profile' == $_POST['from'] ) |
