Changeset 37929
- Timestamp:
- 06/30/2016 04:39:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r37918 r37929 184 184 unset($details); 185 185 } 186 } elseif ( ! $details->blog_id || ! $details->site_id ) {187 // Clear objects missing critical properties.188 wp_cache_delete( $blog_id . $all, 'blog-details' );189 unset($details);190 186 } else { 191 187 return $details; … … 208 204 unset($details); 209 205 } 210 } elseif ( ! $details->blog_id || ! $details->site_id ) {211 // Clear objects missing critical properties.212 wp_cache_delete( $blog_id, 'blog-details' );213 unset($details);214 206 } else { 215 207 return $details; … … 218 210 } 219 211 220 if ( empty( $details ) || ! $details->blog_id || ! $details->site_id) {212 if ( empty($details) ) { 221 213 $details = WP_Site::get_instance( $blog_id ); 222 214 if ( ! $details ) {
Note: See TracChangeset
for help on using the changeset viewer.