Make WordPress Core


Ignore:
Timestamp:
10/07/2020 04:31:53 PM (4 years ago)
Author:
azaozz
Message:

Update jQuery step two:

  • Add jquery-migrate.js v.3.3.1 to core and load it in debug mode when SCRIPT_DEBUG is true.
  • Add jquery.min.js, update jquery.js to 3.5.1 non-minified. This should help when debugging.
  • Rebuild jQuery UI 1.12.1 and add it to core.
  • Fix/adjust tests to match the above changes.

See #50564.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/qunit/index.html

    r48177 r49101  
    33    <head>
    44        <title>WordPress QUnit Test Suite</title>
     5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    56
    67        <!-- Dependencies -->
    78        <script src="../../build/wp-includes/js/jquery/jquery.js"></script>
     9        <script src="../../build/wp-includes/js/jquery/jquery-migrate.js"></script>
    810        <script src="../../build/wp-includes/js/jquery/ui/core.min.js"></script>
    911        <script src="../../build/wp-includes/js/underscore.min.js"></script>
     
    9496
    9597        <script type='text/javascript' src='../../build/wp-includes/js/jquery/ui/core.min.js'></script>
    96         <script type='text/javascript' src='../../build/wp-includes/js/jquery/ui/widget.min.js'></script>
    9798        <script type='text/javascript' src='../../build/wp-includes/js/jquery/ui/mouse.min.js'></script>
    9899        <script type='text/javascript' src='../../build/wp-includes/js/jquery/ui/sortable.min.js'></script>
Note: See TracChangeset for help on using the changeset viewer.