Ticket #40201: 40201.patch
File 40201.patch, 716 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/ms-blogs.php
445 445 * 446 446 * @global bool $_wp_suspend_cache_invalidation 447 447 * 448 * @param WP_Site $blog The site object to be cleared from cache.448 * @param WP_Site|int $blog The site object to be cleared from cache. 449 449 */ 450 450 function clean_blog_cache( $blog ) { 451 451 global $_wp_suspend_cache_invalidation; … … 454 454 return; 455 455 } 456 456 457 if( is_object( $blog ) || is_numeric( $blog ) ) { 458 $blog = get_site( $blog ); 459 } 460 457 461 $blog_id = $blog->blog_id; 458 462 $domain_path_key = md5( $blog->domain . $blog->path ); 459 463