Make WordPress Core

Changeset 59770


Ignore:
Timestamp:
02/06/2025 06:27:19 PM (3 months ago)
Author:
desrosj
Message:

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.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/vendor/plupload/moxie.js

    r46586 r59770  
    22/**
    33 * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill
    4  * v1.3.5
     4 * v1.3.5.1
    55 *
    66 * Copyright 2013, Moxiecode Systems AB
     
    1717
    1818/**
    19  * Modified for WordPress, Silverlight and Flash runtimes support was removed.
    20  * See https://core.trac.wordpress.org/ticket/41755.
     19 * Modified for WordPress.
     20 * - Silverlight and Flash runtimes support was removed. See https://core.trac.wordpress.org/ticket/41755.
     21 * - A stray Unicode character has been removed. See https://core.trac.wordpress.org/ticket/59329.
     22 *
     23 * This is a de-facto fork of the mOxie library that will be maintained by WordPress due to upstream license changes
     24 * that are incompatible with the GPL.
    2125 */
    2226
     
    73897393        }
    73907394    }
    7391      
    73927395
    73937396    Basic.extend(BinaryReader.prototype, {
  • trunk/src/wp-includes/script-loader.php

    r59590 r59770  
    10121012    );
    10131013
    1014     $scripts->add( 'moxiejs', "/wp-includes/js/plupload/moxie$suffix.js", array(), '1.3.5' );
     1014    $scripts->add( 'moxiejs', "/wp-includes/js/plupload/moxie$suffix.js", array(), '1.3.5.1' );
    10151015    $scripts->add( 'plupload', "/wp-includes/js/plupload/plupload$suffix.js", array( 'moxiejs' ), '2.1.9' );
    10161016    // Back compat handles:
Note: See TracChangeset for help on using the changeset viewer.