mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
i18n updates from nbachiyski. fixes #2069
git-svn-id: https://develop.svn.wordpress.org/trunk@3295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1754,7 +1754,7 @@ function wp_handle_upload(&$file, $overrides = false) {
|
||||
// Move the file to the uploads dir
|
||||
$new_file = $uploads['path'] . "/$filename";
|
||||
if ( false === move_uploaded_file($file['tmp_name'], $new_file) )
|
||||
die('The uploaded file could not be moved to $file.');
|
||||
die(__('The uploaded file could not be moved to $file.'));
|
||||
|
||||
// Set correct file permissions
|
||||
$stat = stat(dirname($new_file));
|
||||
|
||||
Reference in New Issue
Block a user