From c408929a6d3a9d538d1ab9207e08d7a50b2f3f09 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Wed, 12 Sep 2018 08:21:08 -0400 Subject: [PATCH] Framework: Pin fetch polyfill to 3.0 UMD distributable (#9795) --- lib/client-assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-assets.php b/lib/client-assets.php index f687808a1dc685..8d988b5b64209d 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -832,7 +832,7 @@ function gutenberg_register_vendor_scripts() { wp_add_inline_script( 'lodash', 'window.lodash = _.noConflict();' ); gutenberg_register_vendor_script( 'wp-polyfill-fetch', - 'https://unpkg.com/whatwg-fetch/fetch.js' + 'https://unpkg.com/whatwg-fetch@3.0.0/dist/fetch.umd.js' ); gutenberg_register_vendor_script( 'wp-polyfill-promise',