Pinking shears

git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2011-10-24 19:13:23 +00:00
parent 5fecc93721
commit fd10e500e4
26 changed files with 59 additions and 59 deletions

View File

@@ -347,7 +347,7 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) {
$new_file = $uploads['path'] . "/$filename";
copy( $tmp_file, $new_file );
unlink($tmp_file);
// Set correct file permissions
$stat = stat( dirname( $new_file ));
$perms = $stat['mode'] & 0000666;