﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	focuses
40228	Use get_sites in get_blog_details	spacedmonkey	flixos90	"Currently get_blog_details performs raw sql queries to get data out of the blogs tables. This data is then cached. However how the caching is done in the function is horrible. It generates three different caches that store the whole wp_site object in cache. 
{{{#!php
wp_cache_delete( $blog_id , 'blog-details' );
wp_cache_delete( $blog_id . 'short' , 'blog-details' );
wp_cache_delete(  $domain_path_key, 'blog-lookup' );    
}}}

This function should be refactor to use get_sites and relay on the caching built into wp_site_query "	enhancement	reopened	normal	Future Release	Networks and Sites		normal		has-patch has-unit-tests ms-roadmap		multisite
