Changeset 18504 for trunk/wp-admin/my-sites.php
- Timestamp:
- 08/04/2011 03:09:27 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/my-sites.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/my-sites.php
r17748 r18504 18 18 $action = isset( $_POST['action'] ) ? $_POST['action'] : 'splash'; 19 19 20 $blogs = get_blogs_of_user( $current_user-> id);20 $blogs = get_blogs_of_user( $current_user->ID ); 21 21 22 22 if ( empty( $blogs ) ) … … 29 29 $blog = get_blog_details( (int) $_POST['primary_blog'] ); 30 30 if ( $blog && isset( $blog->domain ) ) { 31 update_user_option( $current_user-> id, 'primary_blog', (int) $_POST['primary_blog'], true );31 update_user_option( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'], true ); 32 32 $updated = true; 33 33 } else {
Note: See TracChangeset
for help on using the changeset viewer.