Ticket #22552: 22552.2.diff
File 22552.2.diff, 1.8 KB (added by , 12 years ago) |
---|
-
wp-includes/js/media-models.js
789 789 } 790 790 }); 791 791 792 // Clean up. Prevents mobile browsers caching 793 $(window).on('unload', function(){ 794 window.wp = null; 795 }); 796 792 797 }(jQuery)); 798 No newline at end of file -
wp-includes/media.php
1254 1254 'multipart' => true, 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 ); 1259 1264 -
wp-admin/admin-ajax.php
36 36 @header( 'X-Robots-Tag: noindex' ); 37 37 38 38 send_nosniff_header(); 39 nocache_headers(); 39 40 40 41 do_action( 'admin_init' ); 41 42 -
wp-admin/includes/media.php
1508 1508 'multipart_params' => $post_params 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 1513 1518 ?>