Changeset 19384 for trunk/wp-admin/includes/media.php
- Timestamp:
- 11/21/2011 08:46:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r19350 r19384 1379 1379 </div> 1380 1380 1381 <p><?php printf( __( 'Maximum upload file size: %d%s.' ), esc_html($upload_size_unit), esc_html($sizes[$u]) ); 1382 if ( ($is_IE || $is_opera) && $max_upload_size > 100 * 1024 * 1024 ) 1383 echo ' <span class="big-file-warning">' . __('Your browser has some limitations uploading large files with the multi-file uploader. Please use the browser uploader for files over 100MB.') . '</span></p><p>'; 1384 1385 echo ' ' . __('After a file has been uploaded, you can add titles and descriptions.'); 1386 ?></p> 1387 1381 <span class="max-upload-size"><?php printf( __( 'Maximum upload file size: %d%s.' ), esc_html($upload_size_unit), esc_html($sizes[$u]) ); ?></span> 1388 1382 <?php 1383 if ( ($is_IE || $is_opera) && $max_upload_size > 100 * 1024 * 1024 ) { ?> 1384 <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> 1385 <?php } 1386 1389 1387 do_action('post-upload-ui'); 1390 1388 } … … 2038 2036 <?php 2039 2037 } 2038 add_action('post-plupload-upload-ui', 'media_upload_flash_bypass'); 2040 2039 2041 2040 /** … … 2051 2050 <?php 2052 2051 } 2053 2054 add_action('post-plupload-upload-ui', 'media_upload_flash_bypass');2055 2052 add_action('post-html-upload-ui', 'media_upload_html_bypass'); 2053 2054 function media_upload_text_after() { 2055 ?> 2056 <span class="after-file-upload"><?php _e('After a file has been uploaded, you can add titles and descriptions.'); ?></span> 2057 <?php 2058 } 2059 add_action('post-upload-ui', 'media_upload_text_after', 5); 2056 2060 2057 2061 /**
Note: See TracChangeset
for help on using the changeset viewer.