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:
parent
03791d4ad6
commit
3975e5e0d2
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue