From 0bd7e4aa714797f48568388cb13a4f70d06aba5b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 27 Nov 2008 21:19:12 +0000 Subject: [PATCH] Fix upload error codes. Props sekundek. fixes #8310 git-svn-id: https://develop.svn.wordpress.org/trunk@9930 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/file.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index e4bc332792..b005dc79b0 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -236,6 +236,7 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) { __( "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." ), __( "The uploaded file was only partially uploaded." ), __( "No file was uploaded." ), + '', __( "Missing a temporary folder." ), __( "Failed to write file to disk." ));