package-lock.json | 6 +++---
package.json | 2 +-
src/wp-includes/script-loader.php | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2194623736..1c8377dac0 100644
a
|
b
|
|
2138 | 2138 | "dev": true |
2139 | 2139 | }, |
2140 | 2140 | "backbone": { |
2141 | | "version": "1.3.3", |
2142 | | "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.3.3.tgz", |
2143 | | "integrity": "sha1-TMgOp8sWMaxHSInOQPL4vGg7KZk=", |
| 2141 | "version": "1.4.0", |
| 2142 | "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.0.tgz", |
| 2143 | "integrity": "sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==", |
2144 | 2144 | "requires": { |
2145 | 2145 | "underscore": ">=1.8.3" |
2146 | 2146 | } |
diff --git a/package.json b/package.json
index f1a7f6f7aa..d58306f42d 100644
a
|
b
|
|
93 | 93 | "@wordpress/url": "2.5.0", |
94 | 94 | "@wordpress/viewport": "2.3.0", |
95 | 95 | "@wordpress/wordcount": "2.2.0", |
96 | | "backbone": "1.3.3", |
| 96 | "backbone": "1.4.0", |
97 | 97 | "clipboard": "2.0.4", |
98 | 98 | "element-closest": "^2.0.2", |
99 | 99 | "formdata-polyfill": "3.0.13", |
diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php
index a9f78370d9..f92e915be3 100644
a
|
b
|
function wp_default_scripts( &$scripts ) { |
1164 | 1164 | did_action( 'init' ) && $scripts->add_data( 'json2', 'conditional', 'lt IE 8' ); |
1165 | 1165 | |
1166 | 1166 | $scripts->add( 'underscore', "/wp-includes/js/underscore$dev_suffix.js", array(), '1.8.3', 1 ); |
1167 | | $scripts->add( 'backbone', "/wp-includes/js/backbone$dev_suffix.js", array( 'underscore', 'jquery' ), '1.2.3', 1 ); |
| 1167 | $scripts->add( 'backbone', "/wp-includes/js/backbone$dev_suffix.js", array( 'underscore', 'jquery' ), '1.4.0', 1 ); |
1168 | 1168 | |
1169 | 1169 | $scripts->add( 'wp-util', "/wp-includes/js/wp-util$suffix.js", array( 'underscore', 'jquery' ), false, 1 ); |
1170 | 1170 | did_action( 'init' ) && $scripts->localize( |