Uploader: enable selecting multiple files on mobile devices (still doesn't work on Android). See #28640.

git-svn-id: https://develop.svn.wordpress.org/trunk@28847 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-06-26 04:14:59 +00:00
parent 7139817d2e
commit 38debafe60
2 changed files with 0 additions and 10 deletions

View File

@ -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.
*

View File

@ -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.
*