WordPress.org

Make WordPress Core

Ticket #13859: 13859.diff

File 13859.diff, 591 bytes (added by wpmuguru, 4 years ago)
  • wp-admin/includes/schema.php

     
    663663                $wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path ) ); 
    664664                $network_id = $wpdb->insert_id; 
    665665        } else { 
    666                 $wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path, 'network_id' => $network_id ) ); 
     666                $wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path, 'id' => $network_id ) ); 
    667667        } 
    668668 
    669669        if ( !is_multisite() ) {