WordPress.org

Make WordPress Core

Changeset 29729


Ignore:
Timestamp:
09/10/2014 10:39:39 PM (7 years ago)
Author:
azaozz
Message:

Media: revert enabling of multi-file uploading for mobile devices. Currently only iOS Safari supports it but has a bug that prevents uploading of videos. Fixes #29602

Location:
trunk/src
Files:
2 edited

Legend:

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

    r29728 r29729  
    17811781);
    17821782
     1783// Currently only iOS Safari supports multiple files uploading but has a bug that prevents uploading of videos
     1784// when enabled. See #29602.
     1785if ( wp_is_mobile() ) {
     1786    $plupload_init['multi_selection'] = false;
     1787}
     1788
    17831789/**
    17841790 * Filter the default Plupload settings.
  • trunk/src/wp-includes/media.php

    r29724 r29729  
    25432543    );
    25442544
     2545    // Currently only iOS Safari supports multiple files uploading but has a bug that prevents uploading of videos
     2546    // when enabled. See #29602.
     2547    if ( wp_is_mobile() ) {
     2548        $defaults['multi_selection'] = false;
     2549    }
     2550
    25452551    /**
    25462552     * Filter the Plupload default settings.
Note: See TracChangeset for help on using the changeset viewer.