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
This commit is contained in:
Andrew Ozz 2014-06-26 04:15:15 +00:00
parent 2efb8f8507
commit b9fd9db83b
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.
*