WordPress.org

Make WordPress Core

Ticket #17674: 17674.diff

File 17674.diff, 874 bytes (added by JohnONolan, 7 years ago)

Removes unneeded html which is being rendered

  • wp-admin/includes/file.php

     
    252252
    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." ),
    259259                '',