Changeset 1271
- Timestamp:
- 05/07/08 16:26:18 (7 months ago)
- Files:
-
- trunk/wp-admin/includes/mu.php (modified) (1 diff)
- trunk/wp-admin/profile-update.php (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/includes/mu.php
r1265 r1271 665 665 function update_right_now_message() { 666 666 } 667 668 function profile_update_primary_blog() { 669 global $current_user; 670 671 if ( isset( $_POST['primary_blog'] ) ) { 672 update_user_option( $current_user->id, 'primary_blog', (int) $_POST['primary_blog'], true ); 673 } 674 } 675 add_action( 'personal_options_update', 'profile_update_primary_blog' ); 667 676 ?>
