mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
git-svn-id: https://develop.svn.wordpress.org/trunk@12768 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3672,6 +3672,9 @@ function clean_post_cache($id) {
|
||||
foreach( $children as $cid )
|
||||
clean_post_cache( $cid );
|
||||
}
|
||||
|
||||
if ( is_multisite() )
|
||||
wp_cache_delete( $wpdb->blogid . '-' . $id, 'global-posts' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user