WordPress.org

Make WordPress Core

Changeset 28847


Ignore:
Timestamp:
06/26/2014 04:14:59 AM (7 years ago)
Author:
azaozz
Message:

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

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r28837 r28847  
    17731773);
    17741774
    1775 // Multi-file uploading doesn't currently work in iOS Safari,
    1776 // single-file allows the built-in camera to be used as source for images
    1777 if ( wp_is_mobile() )
    1778     $plupload_init['multi_selection'] = false;
    1779 
    17801775/**
    17811776 * Filter the default Plupload settings.
  • trunk/src/wp-includes/media.php

    r28846 r28847  
    25022502    );
    25032503
    2504     // Multi-file uploading doesn't currently work in iOS Safari,
    2505     // single-file allows the built-in camera to be used as source for images
    2506     if ( wp_is_mobile() )
    2507         $defaults['multi_selection'] = false;
    2508 
    25092504    /**
    25102505     * Filter the Plupload default settings.
Note: See TracChangeset for help on using the changeset viewer.