Ticket #27003: 27003.15.diff
File 27003.15.diff, 460 bytes (added by , 11 years ago) |
---|
-
wp-includes/ms-load.php
250 250 $networks = $wpdb->get_col( "SELECT id FROM $wpdb->site LIMIT 2" ); 251 251 252 252 if ( count( $networks ) <= 1 ) { 253 $current_site = wp_get_network( $networks[0] ->id);253 $current_site = wp_get_network( $networks[0] ); 254 254 255 255 $current_site->blog_id = $wpdb->get_var( $wpdb->prepare( "SELECT blog_id 256 256 FROM $wpdb->blogs WHERE domain = %s AND path = %s",