Add refresh_blog_details action. Props mdawaffe. fixes #19987

git-svn-id: http://svn.automattic.com/wordpress/trunk@19889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2012-02-09 19:53:53 +00:00
parent 03791d4ad6
commit 3975e5e0d2
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 );
}
/**