Changeset 40344 for trunk/src/wp-includes/class-wp-site.php
- Timestamp:
- 03/28/2017 02:31:13 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-site.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-site.php
r38936 r40344 334 334 restore_current_blog(); 335 335 336 $cache_details = true; 337 foreach ( array( 'blogname', 'siteurl', 'post_count', 'home' ) as $field ) { 338 if ( false === $details->$field ) { 339 $cache_details = false; 340 break; 341 } 342 } 343 344 if ( $cache_details ) { 345 wp_cache_set( $this->blog_id, $details, 'site-details' ); 346 } 336 wp_cache_set( $this->blog_id, $details, 'site-details' ); 347 337 } 348 338
Note: See TracChangeset
for help on using the changeset viewer.