Changeset 18791
- Timestamp:
- 09/27/2011 07:36:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r18768 r18791 82 82 if ( ! isset( $blogs[ $primary_blog ] ) ) { 83 83 update_user_meta( $user_id, 'primary_blog', $first_blog->userblog_id ); 84 $primary = $first_blog;84 $primary = get_blog_details( $first_blog->userblog_id ); 85 85 } else { 86 86 $primary = get_blog_details( $primary_blog ); … … 93 93 } 94 94 95 if ( ( ! is_object( $primary ) ) || ( is_object( $primary ) &&$primary->archived == 1 || $primary->spam == 1 || $primary->deleted == 1 ) ) {95 if ( ( ! is_object( $primary ) ) || ( $primary->archived == 1 || $primary->spam == 1 || $primary->deleted == 1 ) ) { 96 96 $blogs = get_blogs_of_user( $user_id, true ); // if a user's primary blog is shut down, check their other blogs. 97 97 $ret = false;
Note: See TracChangeset
for help on using the changeset viewer.