Add refresh_blog_details action. Props mdawaffe. fixes #19987

git-svn-id: https://develop.svn.wordpress.org/trunk@19889 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-02-09 19:53:53 +00:00
parent 352e3bb9b9
commit 49cb409b27
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,8 @@ function refresh_blog_details( $blog_id ) {
wp_cache_delete( md5( $details->domain . $details->path ) , 'blog-lookup' );
wp_cache_delete( 'current_blog_' . $details->domain, 'site-options' );
wp_cache_delete( 'current_blog_' . $details->domain . $details->path, 'site-options' );
do_action( 'refresh_blog_details', $blog_id );
}
/**