Make WordPress Core

Changeset 51505


Ignore:
Timestamp:
07/28/2021 12:53:17 PM (2 years ago)
Author:
desrosj
Message:

External Libraries: Correct the underscore version used when registering.

The correct version is 1.13.1.

Follow up to [50650], [50778].

Props david.binda.
Merges [51469] to the 5.8 branch.
Fixes #53713.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-includes/script-loader.php

    r51504 r51505  
    916916    did_action( 'init' ) && $scripts->add_data( 'json2', 'conditional', 'lt IE 8' );
    917917
    918     $scripts->add( 'underscore', "/wp-includes/js/underscore$dev_suffix.js", array(), '1.8.3', 1 );
     918    $scripts->add( 'underscore', "/wp-includes/js/underscore$dev_suffix.js", array(), '1.13.1', 1 );
    919919    $scripts->add( 'backbone', "/wp-includes/js/backbone$dev_suffix.js", array( 'underscore', 'jquery' ), '1.4.0', 1 );
    920920
Note: See TracChangeset for help on using the changeset viewer.