Ticket #38351: 38351.diff
| File 38351.diff, 921 bytes (added by , 9 years ago) |
|---|
-
src/wp-includes/ms-blogs.php
266 266 $blog_id = get_current_blog_id(); 267 267 } 268 268 269 $details = get_ blog_details( $blog_id, false);269 $details = get_site( $blog_id ); 270 270 if ( ! $details ) { 271 271 // Make sure clean_blog_cache() gets the blog ID 272 272 // when the blog has been previously cached as … … 310 310 if ( is_object($details) ) 311 311 $details = get_object_vars($details); 312 312 313 $current_details = get_ blog_details($blog_id, false);313 $current_details = get_site( $blog_id ); 314 314 if ( empty($current_details) ) 315 315 return false; 316 316 … … 1038 1038 function get_blog_status( $id, $pref ) { 1039 1039 global $wpdb; 1040 1040 1041 $details = get_ blog_details( $id, false);1041 $details = get_site( $id ); 1042 1042 if ( $details ) 1043 1043 return $details->$pref; 1044 1044