diff --git a/src/js/_enqueues/vendor/plupload/moxie.js b/src/js/_enqueues/vendor/plupload/moxie.js index c7d26f4c4e..dbf635f41c 100644 --- a/src/js/_enqueues/vendor/plupload/moxie.js +++ b/src/js/_enqueues/vendor/plupload/moxie.js @@ -1,7 +1,7 @@ ;var MXI_DEBUG = false; /** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill - * v1.3.5 + * v1.3.5.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. @@ -16,8 +16,12 @@ */ /** - * Modified for WordPress, Silverlight and Flash runtimes support was removed. - * See https://core.trac.wordpress.org/ticket/41755. + * Modified for WordPress. + * - Silverlight and Flash runtimes support was removed. See https://core.trac.wordpress.org/ticket/41755. + * - A stray Unicode character has been removed. See https://core.trac.wordpress.org/ticket/59329. + * + * This is a de-facto fork of the mOxie library that will be maintained by WordPress due to upstream license changes + * that are incompatible with the GPL. */ /*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */ @@ -7388,7 +7392,6 @@ define("moxie/runtime/html5/utils/BinaryReader", [ UTF16StringReader.apply(this, arguments); } } -   Basic.extend(BinaryReader.prototype, { diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 19813615bd..15ee7c6d25 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -1011,7 +1011,7 @@ function wp_default_scripts( $scripts ) { 'file_url_copied' => __( 'The file URL has been copied to your clipboard' ), ); - $scripts->add( 'moxiejs', "/wp-includes/js/plupload/moxie$suffix.js", array(), '1.3.5' ); + $scripts->add( 'moxiejs', "/wp-includes/js/plupload/moxie$suffix.js", array(), '1.3.5.1' ); $scripts->add( 'plupload', "/wp-includes/js/plupload/plupload$suffix.js", array( 'moxiejs' ), '2.1.9' ); // Back compat handles: foreach ( array( 'all', 'html5', 'flash', 'silverlight', 'html4' ) as $handle ) {