mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Multisite: After [40305], rename clean_site_details_cache() method as it's not really private.
See #40063. git-svn-id: https://develop.svn.wordpress.org/trunk@40333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -476,11 +476,10 @@ function clean_blog_cache( $blog ) {
|
||||
* Cleans the site details cache for a site.
|
||||
*
|
||||
* @since 4.7.4
|
||||
* @private
|
||||
*
|
||||
* @param int $site_id Optional. Site ID. Default is the current site ID.
|
||||
*/
|
||||
function _clean_site_details_cache( $site_id = 0 ) {
|
||||
function clean_site_details_cache( $site_id = 0 ) {
|
||||
$site_id = (int) $site_id;
|
||||
if ( ! $site_id ) {
|
||||
$site_id = get_current_blog_id();
|
||||
|
||||
Reference in New Issue
Block a user