Changeset 38914
- Timestamp:
- 10/25/2016 06:05:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r38903 r38914 54 54 if ( ! isset( $blogs[ $primary_blog ] ) ) { 55 55 update_user_meta( $user_id, 'primary_blog', $first_blog->userblog_id ); 56 $primary = get_ blog_details( $first_blog->userblog_id );56 $primary = get_site( $first_blog->userblog_id ); 57 57 } else { 58 $primary = get_ blog_details( $primary_blog );58 $primary = get_site( $primary_blog ); 59 59 } 60 60 } else { … … 72 72 if ( $blog->site_id != $wpdb->siteid ) 73 73 continue; 74 $details = get_ blog_details( $blog_id );74 $details = get_site( $blog_id ); 75 75 if ( is_object( $details ) && $details->archived == 0 && $details->spam == 0 && $details->deleted == 0 ) { 76 76 $ret = $blog;
Note: See TracChangeset
for help on using the changeset viewer.