Fix upload error codes. Props sekundek. fixes #8310

git-svn-id: http://svn.automattic.com/wordpress/trunk@9930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-27 21:19:12 +00:00
parent 7138d5af58
commit 27b2375a4f
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) {
__( "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> 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." ));