WordPress.org

Make WordPress Core

Changeset 18193


Ignore:
Timestamp:
06/08/2011 04:27:57 PM (11 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/file.php

    r17928 r18193  
    253253    // Courtesy of php.net, the strings that describe the error indicated in $_FILES[{form field}]['error'].
    254254    $upload_error_strings = array( false,
    255         __( "The uploaded file exceeds the <code>upload_max_filesize</code> directive in <code>php.ini</code>." ),
    256         __( "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ),
     255        __( "The uploaded file exceeds the upload_max_filesize directive in php.ini." ),
     256        __( "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form." ),
    257257        __( "The uploaded file was only partially uploaded." ),
    258258        __( "No file was uploaded." ),
Note: See TracChangeset for help on using the changeset viewer.