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:
Helen Hou-Sandi
2020-11-16 22:29:42 +00:00
parent 740d99daf4
commit 56ffe940b0
4 changed files with 14 additions and 29 deletions
+1 -1
View File
@@ -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 );
}
/**