diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-03 10:52:54 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-10-03 10:52:54 +0000 |
commit | 23c0a299ada091cdeece968ad5cd3bdd20f5ef3c (patch) | |
tree | 9bdf04e7880e6188eca43a3bd161320568f205e4 /wp-admin/admin-functions.php | |
parent | 081300d1c11041e8b678f9cb0736468aa11e94f1 (diff) | |
download | wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.tar.gz wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.tar.xz wordpress-mu-23c0a299ada091cdeece968ad5cd3bdd20f5ef3c.zip |
WP Merge to rev 4273
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@788 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/admin-functions.php')
-rw-r--r-- | wp-admin/admin-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 5dd0794..5c220a5 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -1911,7 +1911,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) ) - wp_die(printf(__('The uploaded file could not be moved to %s.'), $file['path'])); + wp_die(printf(__('The uploaded file could not be moved to %s.'), $uploads['path'])); // Set correct file permissions $stat = stat(dirname($new_file)); |