Make WordPress Core

Ticket #33643: 33643.patch

File 33643.patch, 793 bytes (added by pavelevap, 9 years ago)
  • src/wp-admin/async-upload.php

     
    8989if ( is_wp_error($id) ) {
    9090        echo '<div class="error-div error">
    9191        <a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __('Dismiss') . '</a>
    92         <strong>' . sprintf(__('&#8220;%s&#8221; has failed to upload due to an error'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
     92        <strong>' . sprintf(__('&#8220;%s&#8221; has failed to upload.'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
    9393        esc_html($id->get_error_message()) . '</div>';
    9494        exit;
    9595}