Merge clear_global_post_cache() into clean_post_cache(). fixes #11744

git-svn-id: http://svn.automattic.com/wordpress/trunk@12768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2010-01-19 19:45:44 +00:00
parent 89c4e9f15d
commit 42d8102a9c
2 changed files with 5 additions and 5 deletions

View File

@@ -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' );
}
/**