Changeset 27316 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 02/27/2014 08:00:55 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r27127 r27316 1761 1761 1762 1762 $plupload_init = array( 1763 'runtimes' => 'html5,silverlight,flash,html4', 1764 'browse_button' => 'plupload-browse-button', 1765 'container' => 'plupload-upload-ui', 1766 'drop_element' => 'drag-drop-area', 1767 'file_data_name' => 'async-upload', 1768 'multiple_queues' => true, 1769 'max_file_size' => $max_upload_size . 'b', 1770 'url' => $upload_action_url, 1771 'flash_swf_url' => includes_url('js/plupload/plupload.flash.swf'), 1772 'silverlight_xap_url' => includes_url('js/plupload/plupload.silverlight.xap'), 1773 'filters' => array( array('title' => __( 'Allowed Files' ), 'extensions' => '*') ), 1774 'multipart' => true, 1775 'urlstream_upload' => true, 1776 'multipart_params' => $post_params 1763 'runtimes' => 'html5,silverlight,flash,html4', 1764 'browse_button' => 'plupload-browse-button', 1765 'container' => 'plupload-upload-ui', 1766 'drop_element' => 'drag-drop-area', 1767 'file_data_name' => 'async-upload', 1768 'url' => $upload_action_url, 1769 'flash_swf_url' => includes_url( 'js/plupload/Moxie.swf' ), 1770 'silverlight_xap_url' => includes_url( 'js/plupload/Moxie.xap' ), 1771 'filters' => array( 1772 'max_file_size' => $max_upload_size . 'b', 1773 ), 1774 'multipart_params' => $post_params, 1777 1775 ); 1778 1776 … … 1861 1859 <span class="max-upload-size"><?php printf( __( 'Maximum upload file size: %d%s.' ), esc_html($upload_size_unit), esc_html($sizes[$u]) ); ?></span> 1862 1860 <?php 1863 if ( ($is_IE || $is_opera) && $max_upload_size > 100 * 1024 * 1024 ) { ?>1864 <span class="big-file-warning"><?php _e('Your browser has some limitations uploading large files with the multi-file uploader. Please use the browser uploader for files over 100MB.'); ?></span>1865 <?php }1866 1861 1867 1862 /**
Note: See TracChangeset
for help on using the changeset viewer.