ms-functions pruning and cleanup. Props nacin. see #11644

git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-02-04 18:57:32 +00:00
parent 3bc5c8975b
commit 0399d5c023
5 changed files with 66 additions and 87 deletions
+3
View File
@@ -325,6 +325,9 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) {
// Compute the URL
$url = $uploads['url'] . "/$filename";
if ( is_multisite() )
delete_transient( 'dirsize_cache' );
return apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => $type ) );
}