Changeset 41242 for trunk/src/wp-signup.php
- Timestamp:
- 08/12/2017 01:10:24 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-signup.php
r41200 r41242 355 355 */ 356 356 function validate_another_blog_signup() { 357 global $ wpdb, $blogname, $blog_title, $errors, $domain, $path;357 global $blogname, $blog_title, $errors, $domain, $path; 358 358 $current_user = wp_get_current_user(); 359 359 if ( ! is_user_logged_in() ) { … … 423 423 $meta = apply_filters( 'add_signup_meta', $meta_defaults ); 424 424 425 $blog_id = wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, $wpdb->siteid);425 $blog_id = wpmu_create_blog( $domain, $path, $blog_title, $current_user->ID, $meta, get_current_network_id() ); 426 426 427 427 if ( is_wp_error( $blog_id ) ) {
Note: See TracChangeset
for help on using the changeset viewer.