Changeset 29776
- Timestamp:
- 09/29/2014 12:13:47 AM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r29754 r29776 1797 1797 ); 1798 1798 1799 // Currently only iOS Safari supports multiple files uploading but has a bug that prevents uploading of videos1799 // Currently only iOS Safari supports multiple files uploading but iOS 7.x has a bug that prevents uploading of videos 1800 1800 // when enabled. See #29602. 1801 if ( wp_is_mobile() ) { 1801 if ( wp_is_mobile() && strpos( $_SERVER['HTTP_USER_AGENT'], 'OS 7_' ) !== false && 1802 strpos( $_SERVER['HTTP_USER_AGENT'], 'like Mac OS X' ) !== false ) { 1803 1802 1804 $plupload_init['multi_selection'] = false; 1803 1805 } -
trunk/src/wp-includes/media.php
r29764 r29776 2537 2537 ); 2538 2538 2539 // Currently only iOS Safari supports multiple files uploading but has a bug that prevents uploading of videos2539 // Currently only iOS Safari supports multiple files uploading but iOS 7.x has a bug that prevents uploading of videos 2540 2540 // when enabled. See #29602. 2541 if ( wp_is_mobile() ) { 2541 if ( wp_is_mobile() && strpos( $_SERVER['HTTP_USER_AGENT'], 'OS 7_' ) !== false && 2542 strpos( $_SERVER['HTTP_USER_AGENT'], 'like Mac OS X' ) !== false ) { 2543 2542 2544 $defaults['multi_selection'] = false; 2543 2545 }
Note: See TracChangeset
for help on using the changeset viewer.