From ac81c1fef8e356025d2d0e6843a34a91fde87357 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 8 Jun 2011 16:27:57 +0000 Subject: [PATCH] Remove code formatting from uploaded file size error messages, for now. props JohnONolan. fixes #17674 git-svn-id: https://develop.svn.wordpress.org/trunk@18193 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/file.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index d91dc6832e..04bb40392e 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -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']. $upload_error_strings = array( false, - __( "The uploaded file exceeds the upload_max_filesize directive in php.ini." ), - __( "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." ), + __( "The uploaded file exceeds the upload_max_filesize directive in php.ini." ), + __( "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." ), '',