Make WordPress Core


Ignore:
Timestamp:
09/01/2017 12:27:49 PM (7 years ago)
Author:
azaozz
Message:

Plupload:

  • Update to 2.1.9.
  • Include the non-minified plupload.js and moxie.js.
  • Remove support for Flash and Silverlight, the available runtime options are html5 and html4.
  • Delete plupload.flash.swf and plupload.silverlight.xap.

Fixes #41755.

File:
1 edited

Legend:

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

    r41315 r41328  
    30033003    }
    30043004
     3005    /*
     3006     * Since 4.9 the `runtimes` setting is hardcoded in our version of Plupload to `html5,html4`,
     3007     * and the `flash_swf_url` and `silverlight_xap_url` are not used.
     3008     */
    30053009    $defaults = array(
    3006         'runtimes'            => 'html5,flash,silverlight,html4',
    30073010        'file_data_name'      => 'async-upload', // key passed to $_FILE.
    30083011        'url'                 => admin_url( 'async-upload.php', 'relative' ),
    3009         'flash_swf_url'       => includes_url( 'js/plupload/plupload.flash.swf' ),
    3010         'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
    30113012        'filters' => array(
    30123013            'max_file_size'   => $max_upload_size . 'b',
Note: See TracChangeset for help on using the changeset viewer.