Changeset 22872
- Timestamp:
- 11/27/2012 04:17:53 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r22768 r22872 37 37 38 38 send_nosniff_header(); 39 nocache_headers(); 39 40 40 41 do_action( 'admin_init' ); -
trunk/wp-admin/includes/media.php
r22867 r22872 1509 1509 ); 1510 1510 1511 // Multi-file uploading doesn't currently work in iOS Safari, 1512 // single-file allows the built-in camera to be used as source for images 1513 if ( wp_is_mobile() ) 1514 $plupload_init['multi_selection'] = false; 1515 1511 1516 $plupload_init = apply_filters( 'plupload_init', $plupload_init ); 1512 1517 -
trunk/wp-includes/js/media-models.js
r22869 r22872 810 810 }); 811 811 812 // Clean up. Prevents mobile browsers caching 813 $(window).on('unload', function(){ 814 window.wp = null; 815 }); 816 812 817 }(jQuery)); -
trunk/wp-includes/media.php
r22870 r22872 1255 1255 'urlstream_upload' => true, 1256 1256 ); 1257 1258 // Multi-file uploading doesn't currently work in iOS Safari, 1259 // single-file allows the built-in camera to be used as source for images 1260 if ( wp_is_mobile() ) 1261 $defaults['multi_selection'] = false; 1257 1262 1258 1263 $defaults = apply_filters( 'plupload_default_settings', $defaults );
Note: See TracChangeset
for help on using the changeset viewer.