mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +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:
@@ -5918,7 +5918,7 @@ function wp_delete_attachment( $post_id, $force_delete = false ) {
|
||||
$file = get_attached_file( $post_id );
|
||||
|
||||
if ( is_multisite() ) {
|
||||
invalidate_dirsize_cache( $file );
|
||||
clean_dirsize_cache( $file );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user