mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
External Libraries: Remove stray Unicode character in moxie.js
This fixes a `ReferenceError` caused by a stray Unicode character in the unminified version of moxie.js. This has long been fixed upstream but the library cannot be wholesale updated in WordPress because of an incompatible license change. Because of this, a new version is being tagged, `1.3.5.1`, and the file header has been updated to make it more clear that the file is a maintained fork with a high level list of changes made. Props kinggmobb, jorbin, q0rban, azaozz, desrosj, sukhendu2002. Fixes #59329. Built from https://develop.svn.wordpress.org/trunk@59770 git-svn-id: http://core.svn.wordpress.org/trunk@59112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
da65b76f52
commit
16bc9210d6
|
|
@ -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, {
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59769';
|
||||
$wp_version = '6.8-alpha-59770';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user