Ticket #27003: 27003.19.diff
File 27003.19.diff, 599 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/ms-settings.php
75 75 $one_network = $wpdb->get_row( "SELECT * FROM $wpdb->site LIMIT 2" ); // [sic] 76 76 if ( 1 === $wpdb->num_rows ) { 77 77 $current_site = wp_get_network( $one_network ); 78 wp_cache_set( 'current_network', 'site-options' );78 wp_cache_set( 'current_network', $current_site, 'site-options' ); 79 79 } elseif ( 0 === $wpdb->num_rows ) { 80 80 ms_not_installed(); 81 81 }