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-admin/includes/media.php

    r41323 r41328  
    18691869$post_params = apply_filters( 'upload_post_params', $post_params );
    18701870
     1871/*
     1872 * Since 4.9 the `runtimes` setting is hardcoded in our version of Plupload to `html5,html4`,
     1873 * and the `flash_swf_url` and `silverlight_xap_url` are not used.
     1874 */
    18711875$plupload_init = array(
    1872     'runtimes'            => 'html5,flash,silverlight,html4',
    18731876    'browse_button'       => 'plupload-browse-button',
    18741877    'container'           => 'plupload-upload-ui',
     
    18761879    'file_data_name'      => 'async-upload',
    18771880    'url'                 => $upload_action_url,
    1878     'flash_swf_url'       => includes_url( 'js/plupload/plupload.flash.swf' ),
    1879     'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
    18801881    'filters' => array(
    18811882        'max_file_size'   => $max_upload_size . 'b',
Note: See TracChangeset for help on using the changeset viewer.