Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674

git-svn-id: http://svn.automattic.com/wordpress/trunk@18193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2011-06-08 16:27:57 +00:00
parent 5cc93d8dc4
commit 029a8d1bef
1 changed files with 2 additions and 2 deletions

View File

@ -252,8 +252,8 @@ function wp_handle_upload( &$file, $overrides = false, $time = null ) {
// Courtesy of php.net, the strings that describe the error indicated in $_FILES[{form field}]['error']. // Courtesy of php.net, the strings that describe the error indicated in $_FILES[{form field}]['error'].
$upload_error_strings = array( false, $upload_error_strings = array( false,
__( "The uploaded file exceeds the <code>upload_max_filesize</code> directive in <code>php.ini</code>." ), __( "The uploaded file exceeds the upload_max_filesize directive in php.ini." ),
__( "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ), __( "The uploaded file exceeds the MAX_FILE_SIZE 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." ),
'', '',