Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user