mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Multisite: More consistency for clean_dirsize_cache().
Props SergeyBiryukov. Fixes #19879. git-svn-id: https://develop.svn.wordpress.org/trunk@49616 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -928,7 +928,7 @@ function _wp_handle_upload( &$file, $overrides, $time, $action ) {
|
||||
$url = $uploads['url'] . "/$filename";
|
||||
|
||||
if ( is_multisite() ) {
|
||||
invalidate_dirsize_cache( $new_file );
|
||||
clean_dirsize_cache( $new_file );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user