From 3975e5e0d2c12e12a456a311852d9dd735c192a3 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 9 Feb 2012 19:53:53 +0000 Subject: [PATCH] Add refresh_blog_details action. Props mdawaffe. fixes #19987 git-svn-id: http://svn.automattic.com/wordpress/trunk@19889 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-blogs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index e9118cfe52..1dc4eb4bca 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -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 ); } /**