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:
parent
7139817d2e
commit
38debafe60
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user