mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Multisite: Revert [41719].
While `get_site_by()` makes sense as a more explicit and less complex replacement for `get_blog_details()`, it is not ready yet in terms of caching, where it currently falls short of the older function under specific circumstances. See #40180, #40228. git-svn-id: https://develop.svn.wordpress.org/trunk@41883 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -330,14 +330,7 @@ final class WP_Site {
|
||||
wp_cache_set( $this->blog_id, $details, 'site-details' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters a blog's details.
|
||||
*
|
||||
* @since MU (3.0.0)
|
||||
* @deprecated 4.7.0 Use site_details
|
||||
*
|
||||
* @param object $details The blog details.
|
||||
*/
|
||||
/** This filter is documented in wp-includes/ms-blogs.php */
|
||||
$details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user