From b9fd9db83b14bef02f5cbab1c300a42474d3af33 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 26 Jun 2014 04:15:15 +0000 Subject: [PATCH] Uploader: enable selecting multiple files on mobile devices (still doesn't work on Android). See #28640. Built from https://develop.svn.wordpress.org/trunk@28847 git-svn-id: http://core.svn.wordpress.org/trunk@28651 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 5 ----- wp-includes/media.php | 5 ----- 2 files changed, 10 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index fec570eb8a..c51dcad01d 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1772,11 +1772,6 @@ $plupload_init = array( 'multipart_params' => $post_params, ); -// Multi-file uploading doesn't currently work in iOS Safari, -// single-file allows the built-in camera to be used as source for images -if ( wp_is_mobile() ) - $plupload_init['multi_selection'] = false; - /** * Filter the default Plupload settings. * diff --git a/wp-includes/media.php b/wp-includes/media.php index 3581b32e68..2edfc1ab9d 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -2501,11 +2501,6 @@ function wp_plupload_default_settings() { ), ); - // Multi-file uploading doesn't currently work in iOS Safari, - // single-file allows the built-in camera to be used as source for images - if ( wp_is_mobile() ) - $defaults['multi_selection'] = false; - /** * Filter the Plupload default settings. *