Pinking shears

git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2011-10-24 19:13:23 +00:00
parent ad3eb8f7ab
commit 62afab8db3
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;