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:
parent
7138d5af58
commit
27b2375a4f
|
@ -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 exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ),
|
||||||
__( "The uploaded file was only partially uploaded." ),
|
__( "The uploaded file was only partially uploaded." ),
|
||||||
__( "No file was uploaded." ),
|
__( "No file was uploaded." ),
|
||||||
|
'',
|
||||||
__( "Missing a temporary folder." ),
|
__( "Missing a temporary folder." ),
|
||||||
__( "Failed to write file to disk." ));
|
__( "Failed to write file to disk." ));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue