Changeset 41242 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 08/12/2017 01:10:24 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r41241 r41242 73 73 if ( is_array( $blogs ) && count( $blogs ) > 0 ) { 74 74 foreach ( (array) $blogs as $blog_id => $blog ) { 75 if ( $blog->site_id != $wpdb->siteid)75 if ( $blog->site_id != get_current_network_id() ) 76 76 continue; 77 77 $details = get_site( $blog_id ); … … 1090 1090 } 1091 1091 1092 $blog_id = wpmu_create_blog( $signup->domain, $signup->path, $signup->title, $user_id, $meta, $wpdb->siteid);1092 $blog_id = wpmu_create_blog( $signup->domain, $signup->path, $signup->title, $user_id, $meta, get_current_network_id() ); 1093 1093 1094 1094 // TODO: What to do if we create a user but cannot create a blog?
Note: See TracChangeset
for help on using the changeset viewer.