Fix upload error codes. Props sekundek. fixes #8310
git-svn-id: https://develop.svn.wordpress.org/trunk@9930 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ff3f697dbf
commit
0bd7e4aa71
@ -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." ));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user