WordPress.org

Make WordPress Core

Changeset 7067


Ignore:
Timestamp:
02/27/08 19:36:02 (6 years ago)
Author:
ryan
Message:

remove debug cruft and set swfupload max file size to match php ini. Props andy. see #5911

Location:
trunk
Files:
2 edited

Legend:

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

    r7062 r7067  
    617617                "type" : "media" 
    618618            }, 
     619            file_size_limit : "<?php echo wp_max_upload_size(); ?>b", 
    619620            swfupload_element_id : "flash-upload-ui", // id of the element displayed when swfupload is available 
    620621            degraded_element_id : "html-upload-ui",   // when swfupload is unavailable 
  • trunk/wp-includes/js/swfupload/handlers.js

    r7043 r7067  
    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 ) { 
Note: See TracChangeset for help on using the changeset viewer.