WordPress.org

Make WordPress Core

Ticket #5911: 5911-10.diff

File 5911-10.diff, 489 bytes (added by andy, 7 years ago)

remove debug cruft

  • wp-includes/js/swfupload/handlers.js

     
    140140} 
    141141 
    142142function uploadError(fileObj, error_code, message) { 
    143 alert(message);return; 
    144143        // first the file specific error 
    145144        if ( error_code == SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL ) { 
    146145                wpFileError(fileObj, swfuploadL10n.missing_upload_url);