From 50be657d815fad3fa559990cec2aa5aab7b8ded2 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 24 Feb 2020 21:22:08 +0000 Subject: [PATCH] Build Tools: - Update the DependencyExtractionWebpackPlugin to 2.3.0 and set it to output a single assets file. - Grunt: copy the assets file to both `SOURCE_DIR` and `BUILD_DIR` as `wp-includes/assets/script-loader-packages.php`. - "Unignore" the `wp-includes/assets` directory. Its content will be committed similarly to `wp-includes/blocks`. - Update `wp_default_packages_scripts()` to use the above file. This also removes the hard-coded lists of packages and packages with translations. Props gziolo, pbearne, johnbillion, isabel_brison, ocean90, azaozz. Fixes #48154. Built from https://develop.svn.wordpress.org/trunk@47352 git-svn-id: http://core.svn.wordpress.org/trunk@47139 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/assets/dist/a11y.asset.php | 1 - wp-includes/assets/dist/a11y.min.asset.php | 1 - wp-includes/assets/dist/annotations.asset.php | 1 - .../assets/dist/annotations.min.asset.php | 1 - wp-includes/assets/dist/api-fetch.asset.php | 1 - .../assets/dist/api-fetch.min.asset.php | 1 - wp-includes/assets/dist/autop.asset.php | 1 - wp-includes/assets/dist/autop.min.asset.php | 1 - wp-includes/assets/dist/blob.asset.php | 1 - wp-includes/assets/dist/blob.min.asset.php | 1 - .../assets/dist/block-directory.asset.php | 1 - .../assets/dist/block-directory.min.asset.php | 1 - .../assets/dist/block-editor.asset.php | 1 - .../assets/dist/block-editor.min.asset.php | 1 - .../assets/dist/block-library.asset.php | 1 - .../assets/dist/block-library.min.asset.php | 1 - ...ock-serialization-default-parser.asset.php | 1 - ...serialization-default-parser.min.asset.php | 1 - wp-includes/assets/dist/blocks.asset.php | 1 - wp-includes/assets/dist/blocks.min.asset.php | 1 - wp-includes/assets/dist/components.asset.php | 1 - .../assets/dist/components.min.asset.php | 1 - wp-includes/assets/dist/compose.asset.php | 1 - wp-includes/assets/dist/compose.min.asset.php | 1 - wp-includes/assets/dist/core-data.asset.php | 1 - .../assets/dist/core-data.min.asset.php | 1 - .../assets/dist/data-controls.asset.php | 1 - .../assets/dist/data-controls.min.asset.php | 1 - wp-includes/assets/dist/data.asset.php | 1 - wp-includes/assets/dist/data.min.asset.php | 1 - wp-includes/assets/dist/date.asset.php | 1 - wp-includes/assets/dist/date.min.asset.php | 1 - wp-includes/assets/dist/deprecated.asset.php | 1 - .../assets/dist/deprecated.min.asset.php | 1 - wp-includes/assets/dist/dom-ready.asset.php | 1 - .../assets/dist/dom-ready.min.asset.php | 1 - wp-includes/assets/dist/dom.asset.php | 1 - wp-includes/assets/dist/dom.min.asset.php | 1 - wp-includes/assets/dist/edit-post.asset.php | 1 - .../assets/dist/edit-post.min.asset.php | 1 - wp-includes/assets/dist/editor.asset.php | 1 - wp-includes/assets/dist/editor.min.asset.php | 1 - wp-includes/assets/dist/element.asset.php | 1 - wp-includes/assets/dist/element.min.asset.php | 1 - wp-includes/assets/dist/escape-html.asset.php | 1 - .../assets/dist/escape-html.min.asset.php | 1 - .../assets/dist/format-library.asset.php | 1 - .../assets/dist/format-library.min.asset.php | 1 - wp-includes/assets/dist/hooks.asset.php | 1 - wp-includes/assets/dist/hooks.min.asset.php | 1 - .../assets/dist/html-entities.asset.php | 1 - .../assets/dist/html-entities.min.asset.php | 1 - wp-includes/assets/dist/i18n.asset.php | 1 - wp-includes/assets/dist/i18n.min.asset.php | 1 - .../assets/dist/is-shallow-equal.asset.php | 1 - .../dist/is-shallow-equal.min.asset.php | 1 - .../assets/dist/keyboard-shortcuts.asset.php | 1 - .../dist/keyboard-shortcuts.min.asset.php | 1 - wp-includes/assets/dist/keycodes.asset.php | 1 - .../assets/dist/keycodes.min.asset.php | 1 - .../dist/list-reusable-blocks.asset.php | 1 - .../dist/list-reusable-blocks.min.asset.php | 1 - wp-includes/assets/dist/media-utils.asset.php | 1 - .../assets/dist/media-utils.min.asset.php | 1 - wp-includes/assets/dist/notices.asset.php | 1 - wp-includes/assets/dist/notices.min.asset.php | 1 - wp-includes/assets/dist/nux.asset.php | 1 - wp-includes/assets/dist/nux.min.asset.php | 1 - wp-includes/assets/dist/plugins.asset.php | 1 - wp-includes/assets/dist/plugins.min.asset.php | 1 - wp-includes/assets/dist/primitives.asset.php | 1 - .../assets/dist/primitives.min.asset.php | 1 - .../assets/dist/priority-queue.asset.php | 1 - .../assets/dist/priority-queue.min.asset.php | 1 - .../assets/dist/redux-routine.asset.php | 1 - .../assets/dist/redux-routine.min.asset.php | 1 - wp-includes/assets/dist/rich-text.asset.php | 1 - .../assets/dist/rich-text.min.asset.php | 1 - .../assets/dist/server-side-render.asset.php | 1 - .../dist/server-side-render.min.asset.php | 1 - wp-includes/assets/dist/shortcode.asset.php | 1 - .../assets/dist/shortcode.min.asset.php | 1 - wp-includes/assets/dist/token-list.asset.php | 1 - .../assets/dist/token-list.min.asset.php | 1 - wp-includes/assets/dist/url.asset.php | 1 - wp-includes/assets/dist/url.min.asset.php | 1 - wp-includes/assets/dist/viewport.asset.php | 1 - .../assets/dist/viewport.min.asset.php | 1 - wp-includes/assets/dist/warning.asset.php | 1 - wp-includes/assets/dist/warning.min.asset.php | 1 - wp-includes/assets/dist/wordcount.asset.php | 1 - .../assets/dist/wordcount.min.asset.php | 1 - wp-includes/assets/script-loader-packages.php | 1 + wp-includes/script-loader.php | 88 ++++--------------- wp-includes/version.php | 2 +- 95 files changed, 17 insertions(+), 166 deletions(-) delete mode 100644 wp-includes/assets/dist/a11y.asset.php delete mode 100644 wp-includes/assets/dist/a11y.min.asset.php delete mode 100644 wp-includes/assets/dist/annotations.asset.php delete mode 100644 wp-includes/assets/dist/annotations.min.asset.php delete mode 100644 wp-includes/assets/dist/api-fetch.asset.php delete mode 100644 wp-includes/assets/dist/api-fetch.min.asset.php delete mode 100644 wp-includes/assets/dist/autop.asset.php delete mode 100644 wp-includes/assets/dist/autop.min.asset.php delete mode 100644 wp-includes/assets/dist/blob.asset.php delete mode 100644 wp-includes/assets/dist/blob.min.asset.php delete mode 100644 wp-includes/assets/dist/block-directory.asset.php delete mode 100644 wp-includes/assets/dist/block-directory.min.asset.php delete mode 100644 wp-includes/assets/dist/block-editor.asset.php delete mode 100644 wp-includes/assets/dist/block-editor.min.asset.php delete mode 100644 wp-includes/assets/dist/block-library.asset.php delete mode 100644 wp-includes/assets/dist/block-library.min.asset.php delete mode 100644 wp-includes/assets/dist/block-serialization-default-parser.asset.php delete mode 100644 wp-includes/assets/dist/block-serialization-default-parser.min.asset.php delete mode 100644 wp-includes/assets/dist/blocks.asset.php delete mode 100644 wp-includes/assets/dist/blocks.min.asset.php delete mode 100644 wp-includes/assets/dist/components.asset.php delete mode 100644 wp-includes/assets/dist/components.min.asset.php delete mode 100644 wp-includes/assets/dist/compose.asset.php delete mode 100644 wp-includes/assets/dist/compose.min.asset.php delete mode 100644 wp-includes/assets/dist/core-data.asset.php delete mode 100644 wp-includes/assets/dist/core-data.min.asset.php delete mode 100644 wp-includes/assets/dist/data-controls.asset.php delete mode 100644 wp-includes/assets/dist/data-controls.min.asset.php delete mode 100644 wp-includes/assets/dist/data.asset.php delete mode 100644 wp-includes/assets/dist/data.min.asset.php delete mode 100644 wp-includes/assets/dist/date.asset.php delete mode 100644 wp-includes/assets/dist/date.min.asset.php delete mode 100644 wp-includes/assets/dist/deprecated.asset.php delete mode 100644 wp-includes/assets/dist/deprecated.min.asset.php delete mode 100644 wp-includes/assets/dist/dom-ready.asset.php delete mode 100644 wp-includes/assets/dist/dom-ready.min.asset.php delete mode 100644 wp-includes/assets/dist/dom.asset.php delete mode 100644 wp-includes/assets/dist/dom.min.asset.php delete mode 100644 wp-includes/assets/dist/edit-post.asset.php delete mode 100644 wp-includes/assets/dist/edit-post.min.asset.php delete mode 100644 wp-includes/assets/dist/editor.asset.php delete mode 100644 wp-includes/assets/dist/editor.min.asset.php delete mode 100644 wp-includes/assets/dist/element.asset.php delete mode 100644 wp-includes/assets/dist/element.min.asset.php delete mode 100644 wp-includes/assets/dist/escape-html.asset.php delete mode 100644 wp-includes/assets/dist/escape-html.min.asset.php delete mode 100644 wp-includes/assets/dist/format-library.asset.php delete mode 100644 wp-includes/assets/dist/format-library.min.asset.php delete mode 100644 wp-includes/assets/dist/hooks.asset.php delete mode 100644 wp-includes/assets/dist/hooks.min.asset.php delete mode 100644 wp-includes/assets/dist/html-entities.asset.php delete mode 100644 wp-includes/assets/dist/html-entities.min.asset.php delete mode 100644 wp-includes/assets/dist/i18n.asset.php delete mode 100644 wp-includes/assets/dist/i18n.min.asset.php delete mode 100644 wp-includes/assets/dist/is-shallow-equal.asset.php delete mode 100644 wp-includes/assets/dist/is-shallow-equal.min.asset.php delete mode 100644 wp-includes/assets/dist/keyboard-shortcuts.asset.php delete mode 100644 wp-includes/assets/dist/keyboard-shortcuts.min.asset.php delete mode 100644 wp-includes/assets/dist/keycodes.asset.php delete mode 100644 wp-includes/assets/dist/keycodes.min.asset.php delete mode 100644 wp-includes/assets/dist/list-reusable-blocks.asset.php delete mode 100644 wp-includes/assets/dist/list-reusable-blocks.min.asset.php delete mode 100644 wp-includes/assets/dist/media-utils.asset.php delete mode 100644 wp-includes/assets/dist/media-utils.min.asset.php delete mode 100644 wp-includes/assets/dist/notices.asset.php delete mode 100644 wp-includes/assets/dist/notices.min.asset.php delete mode 100644 wp-includes/assets/dist/nux.asset.php delete mode 100644 wp-includes/assets/dist/nux.min.asset.php delete mode 100644 wp-includes/assets/dist/plugins.asset.php delete mode 100644 wp-includes/assets/dist/plugins.min.asset.php delete mode 100644 wp-includes/assets/dist/primitives.asset.php delete mode 100644 wp-includes/assets/dist/primitives.min.asset.php delete mode 100644 wp-includes/assets/dist/priority-queue.asset.php delete mode 100644 wp-includes/assets/dist/priority-queue.min.asset.php delete mode 100644 wp-includes/assets/dist/redux-routine.asset.php delete mode 100644 wp-includes/assets/dist/redux-routine.min.asset.php delete mode 100644 wp-includes/assets/dist/rich-text.asset.php delete mode 100644 wp-includes/assets/dist/rich-text.min.asset.php delete mode 100644 wp-includes/assets/dist/server-side-render.asset.php delete mode 100644 wp-includes/assets/dist/server-side-render.min.asset.php delete mode 100644 wp-includes/assets/dist/shortcode.asset.php delete mode 100644 wp-includes/assets/dist/shortcode.min.asset.php delete mode 100644 wp-includes/assets/dist/token-list.asset.php delete mode 100644 wp-includes/assets/dist/token-list.min.asset.php delete mode 100644 wp-includes/assets/dist/url.asset.php delete mode 100644 wp-includes/assets/dist/url.min.asset.php delete mode 100644 wp-includes/assets/dist/viewport.asset.php delete mode 100644 wp-includes/assets/dist/viewport.min.asset.php delete mode 100644 wp-includes/assets/dist/warning.asset.php delete mode 100644 wp-includes/assets/dist/warning.min.asset.php delete mode 100644 wp-includes/assets/dist/wordcount.asset.php delete mode 100644 wp-includes/assets/dist/wordcount.min.asset.php create mode 100644 wp-includes/assets/script-loader-packages.php diff --git a/wp-includes/assets/dist/a11y.asset.php b/wp-includes/assets/dist/a11y.asset.php deleted file mode 100644 index 0ed573ff64..0000000000 --- a/wp-includes/assets/dist/a11y.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => '75e8857bbf1d491f0c582e08b1dadbd6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/a11y.min.asset.php b/wp-includes/assets/dist/a11y.min.asset.php deleted file mode 100644 index 751f99e235..0000000000 --- a/wp-includes/assets/dist/a11y.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-dom-ready', 'wp-polyfill'), 'version' => 'f53b6acedf350b75fb34d33ccdd1becd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/annotations.asset.php b/wp-includes/assets/dist/annotations.asset.php deleted file mode 100644 index 757a9a5e5f..0000000000 --- a/wp-includes/assets/dist/annotations.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'da0fd5e89656a085dce028b7801d5448'); \ No newline at end of file diff --git a/wp-includes/assets/dist/annotations.min.asset.php b/wp-includes/assets/dist/annotations.min.asset.php deleted file mode 100644 index 31cc53f650..0000000000 --- a/wp-includes/assets/dist/annotations.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '64ce64933336f9754034f9e344576463'); \ No newline at end of file diff --git a/wp-includes/assets/dist/api-fetch.asset.php b/wp-includes/assets/dist/api-fetch.asset.php deleted file mode 100644 index 7d3e7f62ec..0000000000 --- a/wp-includes/assets/dist/api-fetch.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '3f9c4530789ad55104bd4e6fb1d7b2c0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/api-fetch.min.asset.php b/wp-includes/assets/dist/api-fetch.min.asset.php deleted file mode 100644 index bc72d09217..0000000000 --- a/wp-includes/assets/dist/api-fetch.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'ee8c6088879a9de9c1f7c39a4d8cec72'); \ No newline at end of file diff --git a/wp-includes/assets/dist/autop.asset.php b/wp-includes/assets/dist/autop.asset.php deleted file mode 100644 index 6b5ee0d8a6..0000000000 --- a/wp-includes/assets/dist/autop.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '205ce2875ce340d29d444c2b6204f1c0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/autop.min.asset.php b/wp-includes/assets/dist/autop.min.asset.php deleted file mode 100644 index bbd5905899..0000000000 --- a/wp-includes/assets/dist/autop.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '64c5bad7c376d35b0ae545448cccd97f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blob.asset.php b/wp-includes/assets/dist/blob.asset.php deleted file mode 100644 index da4272d298..0000000000 --- a/wp-includes/assets/dist/blob.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'aba7ab22bcfc07e4378e40e92e7ab85d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blob.min.asset.php b/wp-includes/assets/dist/blob.min.asset.php deleted file mode 100644 index 5eb5bc7e61..0000000000 --- a/wp-includes/assets/dist/blob.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '969fb886e527f53fcc8d9b63eec52c24'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-directory.asset.php b/wp-includes/assets/dist/block-directory.asset.php deleted file mode 100644 index 1777be035c..0000000000 --- a/wp-includes/assets/dist/block-directory.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '32349b6b799bb23ecdff857c3a1c85d8'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-directory.min.asset.php b/wp-includes/assets/dist/block-directory.min.asset.php deleted file mode 100644 index d9dc8096a5..0000000000 --- a/wp-includes/assets/dist/block-directory.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '90442009533da4fdcddaf2b54c424bbd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-editor.asset.php b/wp-includes/assets/dist/block-editor.asset.php deleted file mode 100644 index 7303308d3f..0000000000 --- a/wp-includes/assets/dist/block-editor.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'b5ff1c6c60ac9bf9e43e71d7a0f992e4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-editor.min.asset.php b/wp-includes/assets/dist/block-editor.min.asset.php deleted file mode 100644 index 0c26a89202..0000000000 --- a/wp-includes/assets/dist/block-editor.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '93ef6b67291d3c1f5279c8d78dfd29e9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-library.asset.php b/wp-includes/assets/dist/block-library.asset.php deleted file mode 100644 index 205b93f20b..0000000000 --- a/wp-includes/assets/dist/block-library.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'a5882b7f029c0a75c9df5b562c076b86'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-library.min.asset.php b/wp-includes/assets/dist/block-library.min.asset.php deleted file mode 100644 index 071137a036..0000000000 --- a/wp-includes/assets/dist/block-library.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '743f2ea082e675f7dbbdf02e3ead6342'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-serialization-default-parser.asset.php b/wp-includes/assets/dist/block-serialization-default-parser.asset.php deleted file mode 100644 index b1c8ae4eae..0000000000 --- a/wp-includes/assets/dist/block-serialization-default-parser.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '493193bef61f5a7f8f8f89ca631a01de'); \ No newline at end of file diff --git a/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php b/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php deleted file mode 100644 index 48a546b605..0000000000 --- a/wp-includes/assets/dist/block-serialization-default-parser.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '7c23013381d6c18079b33a6016b39428'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blocks.asset.php b/wp-includes/assets/dist/blocks.asset.php deleted file mode 100644 index 084768351e..0000000000 --- a/wp-includes/assets/dist/blocks.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'ee754416797881e577236b3cc2495651'); \ No newline at end of file diff --git a/wp-includes/assets/dist/blocks.min.asset.php b/wp-includes/assets/dist/blocks.min.asset.php deleted file mode 100644 index 8064d47941..0000000000 --- a/wp-includes/assets/dist/blocks.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => '1e16a3bef3608af4e7a7f9cd3c2e402c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/components.asset.php b/wp-includes/assets/dist/components.asset.php deleted file mode 100644 index 939b38ec1f..0000000000 --- a/wp-includes/assets/dist/components.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => 'fd429ba1f75a7eee7aef48ce1895249c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/components.min.asset.php b/wp-includes/assets/dist/components.min.asset.php deleted file mode 100644 index b3faa88bec..0000000000 --- a/wp-includes/assets/dist/components.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '97c64fbcfbf11cf90ec2699a4cbe0b53'); \ No newline at end of file diff --git a/wp-includes/assets/dist/compose.asset.php b/wp-includes/assets/dist/compose.asset.php deleted file mode 100644 index ee4ccba0e8..0000000000 --- a/wp-includes/assets/dist/compose.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '73886b98cede5ee6ca063ddc889ac566'); \ No newline at end of file diff --git a/wp-includes/assets/dist/compose.min.asset.php b/wp-includes/assets/dist/compose.min.asset.php deleted file mode 100644 index 561d46dc48..0000000000 --- a/wp-includes/assets/dist/compose.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => 'bae27e329e0dad49d835cecb0c9b38af'); \ No newline at end of file diff --git a/wp-includes/assets/dist/core-data.asset.php b/wp-includes/assets/dist/core-data.asset.php deleted file mode 100644 index 551c32e56c..0000000000 --- a/wp-includes/assets/dist/core-data.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'a5dfc158a4629acf3eaa4c086bda8992'); \ No newline at end of file diff --git a/wp-includes/assets/dist/core-data.min.asset.php b/wp-includes/assets/dist/core-data.min.asset.php deleted file mode 100644 index cba369f5b5..0000000000 --- a/wp-includes/assets/dist/core-data.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '9a7594005b1a2833106e88da1160a5a1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data-controls.asset.php b/wp-includes/assets/dist/data-controls.asset.php deleted file mode 100644 index 82ca1c466f..0000000000 --- a/wp-includes/assets/dist/data-controls.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '9dd473f24e19d3b632d799376da103ed'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data-controls.min.asset.php b/wp-includes/assets/dist/data-controls.min.asset.php deleted file mode 100644 index 6680b05f58..0000000000 --- a/wp-includes/assets/dist/data-controls.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => 'ac7bceebbefac04c0bcd74765f527749'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data.asset.php b/wp-includes/assets/dist/data.asset.php deleted file mode 100644 index b1f8bbb7b5..0000000000 --- a/wp-includes/assets/dist/data.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '3442a3ba7f75e8c54d93263da11d0e77'); \ No newline at end of file diff --git a/wp-includes/assets/dist/data.min.asset.php b/wp-includes/assets/dist/data.min.asset.php deleted file mode 100644 index 8354e40bb6..0000000000 --- a/wp-includes/assets/dist/data.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '890d0376c8a4c5118688a2c0109bd9c1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/date.asset.php b/wp-includes/assets/dist/date.asset.php deleted file mode 100644 index 3b6bf188ad..0000000000 --- a/wp-includes/assets/dist/date.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('moment', 'wp-polyfill'), 'version' => '030fdca2819467d4296a129a89763133'); \ No newline at end of file diff --git a/wp-includes/assets/dist/date.min.asset.php b/wp-includes/assets/dist/date.min.asset.php deleted file mode 100644 index 59ffb49986..0000000000 --- a/wp-includes/assets/dist/date.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('moment', 'wp-polyfill'), 'version' => 'cc37d1833eb901a0aa6f9f2eb7d85555'); \ No newline at end of file diff --git a/wp-includes/assets/dist/deprecated.asset.php b/wp-includes/assets/dist/deprecated.asset.php deleted file mode 100644 index 86f438bf44..0000000000 --- a/wp-includes/assets/dist/deprecated.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-hooks', 'wp-polyfill'), 'version' => 'e016dcf6dc5ed48938f8622acbc152f3'); \ No newline at end of file diff --git a/wp-includes/assets/dist/deprecated.min.asset.php b/wp-includes/assets/dist/deprecated.min.asset.php deleted file mode 100644 index 58c5e9329f..0000000000 --- a/wp-includes/assets/dist/deprecated.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-hooks', 'wp-polyfill'), 'version' => 'd1ecf6aace7abae8fe1806e9f3af5aef'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom-ready.asset.php b/wp-includes/assets/dist/dom-ready.asset.php deleted file mode 100644 index 3d1c972cd9..0000000000 --- a/wp-includes/assets/dist/dom-ready.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '5045831f601200e96ad481e311acfe42'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom-ready.min.asset.php b/wp-includes/assets/dist/dom-ready.min.asset.php deleted file mode 100644 index 23fb7a2f44..0000000000 --- a/wp-includes/assets/dist/dom-ready.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '782ce93dd17c29c50d1bc1b566eb389b'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom.asset.php b/wp-includes/assets/dist/dom.asset.php deleted file mode 100644 index 17dad23ba3..0000000000 --- a/wp-includes/assets/dist/dom.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '4e3608876d4b4572c406b47966b8d075'); \ No newline at end of file diff --git a/wp-includes/assets/dist/dom.min.asset.php b/wp-includes/assets/dist/dom.min.asset.php deleted file mode 100644 index ca1e2c5e14..0000000000 --- a/wp-includes/assets/dist/dom.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '674a43fdc6021e35eb012abb12c0617f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/edit-post.asset.php b/wp-includes/assets/dist/edit-post.asset.php deleted file mode 100644 index 145e4ed680..0000000000 --- a/wp-includes/assets/dist/edit-post.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => 'cc2c3b1f5dc2e8bfbb2bfb21c50a603f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/edit-post.min.asset.php b/wp-includes/assets/dist/edit-post.min.asset.php deleted file mode 100644 index 38a99e9086..0000000000 --- a/wp-includes/assets/dist/edit-post.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => 'bf4f1b272d8860b280d67bbf71f8853c'); \ No newline at end of file diff --git a/wp-includes/assets/dist/editor.asset.php b/wp-includes/assets/dist/editor.asset.php deleted file mode 100644 index f720cb7fd9..0000000000 --- a/wp-includes/assets/dist/editor.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '63131715a52708dc239d4eafce97aba0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/editor.min.asset.php b/wp-includes/assets/dist/editor.min.asset.php deleted file mode 100644 index a5e54f039d..0000000000 --- a/wp-includes/assets/dist/editor.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '4ff80a83e0200ecabbec818c971427cf'); \ No newline at end of file diff --git a/wp-includes/assets/dist/element.asset.php b/wp-includes/assets/dist/element.asset.php deleted file mode 100644 index 48a8ae1590..0000000000 --- a/wp-includes/assets/dist/element.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '41f8060e94eb56bb3c5d230d8b7dc349'); \ No newline at end of file diff --git a/wp-includes/assets/dist/element.min.asset.php b/wp-includes/assets/dist/element.min.asset.php deleted file mode 100644 index d292b02a93..0000000000 --- a/wp-includes/assets/dist/element.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '70dae9565323bdbc0d818f19e6887fd6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/escape-html.asset.php b/wp-includes/assets/dist/escape-html.asset.php deleted file mode 100644 index ae4a4a1b52..0000000000 --- a/wp-includes/assets/dist/escape-html.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'df3aea46fc6e3563882bc8891b21101d'); \ No newline at end of file diff --git a/wp-includes/assets/dist/escape-html.min.asset.php b/wp-includes/assets/dist/escape-html.min.asset.php deleted file mode 100644 index a8d6853fd6..0000000000 --- a/wp-includes/assets/dist/escape-html.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'c8f49d23794bd2226688fb07f94bdd41'); \ No newline at end of file diff --git a/wp-includes/assets/dist/format-library.asset.php b/wp-includes/assets/dist/format-library.asset.php deleted file mode 100644 index f9b263a998..0000000000 --- a/wp-includes/assets/dist/format-library.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => 'c9654deb47ed294f14ff96151af02331'); \ No newline at end of file diff --git a/wp-includes/assets/dist/format-library.min.asset.php b/wp-includes/assets/dist/format-library.min.asset.php deleted file mode 100644 index eb0ec98047..0000000000 --- a/wp-includes/assets/dist/format-library.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '220e380d11112568564697f39c59323e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/hooks.asset.php b/wp-includes/assets/dist/hooks.asset.php deleted file mode 100644 index ec7cbd3c6b..0000000000 --- a/wp-includes/assets/dist/hooks.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'd39b1cb0581c2927bbe7840b63f579fd'); \ No newline at end of file diff --git a/wp-includes/assets/dist/hooks.min.asset.php b/wp-includes/assets/dist/hooks.min.asset.php deleted file mode 100644 index 099fd2d05e..0000000000 --- a/wp-includes/assets/dist/hooks.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '4e15d9396ed1ab54a196cf83d5538135'); \ No newline at end of file diff --git a/wp-includes/assets/dist/html-entities.asset.php b/wp-includes/assets/dist/html-entities.asset.php deleted file mode 100644 index be8e20318f..0000000000 --- a/wp-includes/assets/dist/html-entities.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'c43b49e3f3da377cefdadb0131ba7a31'); \ No newline at end of file diff --git a/wp-includes/assets/dist/html-entities.min.asset.php b/wp-includes/assets/dist/html-entities.min.asset.php deleted file mode 100644 index 5bc3e2e808..0000000000 --- a/wp-includes/assets/dist/html-entities.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '05eb19de1e103bf142b693eb1bdef068'); \ No newline at end of file diff --git a/wp-includes/assets/dist/i18n.asset.php b/wp-includes/assets/dist/i18n.asset.php deleted file mode 100644 index 60ce4f8d99..0000000000 --- a/wp-includes/assets/dist/i18n.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'f8c65a436595a2be28654f3d22e0cdef'); \ No newline at end of file diff --git a/wp-includes/assets/dist/i18n.min.asset.php b/wp-includes/assets/dist/i18n.min.asset.php deleted file mode 100644 index 31206c4ba7..0000000000 --- a/wp-includes/assets/dist/i18n.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '6d723eb51c6825ac8b031dd19f6949a0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/is-shallow-equal.asset.php b/wp-includes/assets/dist/is-shallow-equal.asset.php deleted file mode 100644 index 4ff6ed6239..0000000000 --- a/wp-includes/assets/dist/is-shallow-equal.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '3bb3f6a7a8127b024342e718ad297e81'); \ No newline at end of file diff --git a/wp-includes/assets/dist/is-shallow-equal.min.asset.php b/wp-includes/assets/dist/is-shallow-equal.min.asset.php deleted file mode 100644 index 72634db6a5..0000000000 --- a/wp-includes/assets/dist/is-shallow-equal.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'b1acc19250e939acc3827b8ac81e085e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keyboard-shortcuts.asset.php b/wp-includes/assets/dist/keyboard-shortcuts.asset.php deleted file mode 100644 index fb4b2238cf..0000000000 --- a/wp-includes/assets/dist/keyboard-shortcuts.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '3a74bf76a3ed9366813586bf5882bcea'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php b/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php deleted file mode 100644 index 1fb8f33114..0000000000 --- a/wp-includes/assets/dist/keyboard-shortcuts.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '23af971fdc3084676ae6c31c5eb6d284'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keycodes.asset.php b/wp-includes/assets/dist/keycodes.asset.php deleted file mode 100644 index 59e71d94f2..0000000000 --- a/wp-includes/assets/dist/keycodes.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '2e2855269d5ab0ab5f2b9f8811e007a4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/keycodes.min.asset.php b/wp-includes/assets/dist/keycodes.min.asset.php deleted file mode 100644 index 3df29b1f6b..0000000000 --- a/wp-includes/assets/dist/keycodes.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'c044f2e66ee3cb4a1dfa58589c677204'); \ No newline at end of file diff --git a/wp-includes/assets/dist/list-reusable-blocks.asset.php b/wp-includes/assets/dist/list-reusable-blocks.asset.php deleted file mode 100644 index 6c79e59ade..0000000000 --- a/wp-includes/assets/dist/list-reusable-blocks.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '1df487d8230f49185e68ebf57decded6'); \ No newline at end of file diff --git a/wp-includes/assets/dist/list-reusable-blocks.min.asset.php b/wp-includes/assets/dist/list-reusable-blocks.min.asset.php deleted file mode 100644 index 79bfd04cd6..0000000000 --- a/wp-includes/assets/dist/list-reusable-blocks.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '7cbaeeb3742fc76826bef886b49da2b1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/media-utils.asset.php b/wp-includes/assets/dist/media-utils.asset.php deleted file mode 100644 index 9eb63362dd..0000000000 --- a/wp-includes/assets/dist/media-utils.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '30343cf12ac797ef15c05beb2befdf21'); \ No newline at end of file diff --git a/wp-includes/assets/dist/media-utils.min.asset.php b/wp-includes/assets/dist/media-utils.min.asset.php deleted file mode 100644 index 54b0e9c52a..0000000000 --- a/wp-includes/assets/dist/media-utils.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '2135d38633323e6ad955646765e4dc06'); \ No newline at end of file diff --git a/wp-includes/assets/dist/notices.asset.php b/wp-includes/assets/dist/notices.asset.php deleted file mode 100644 index b3ddf45608..0000000000 --- a/wp-includes/assets/dist/notices.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '3b3e946b2d484de31e4be1dc7a48001e'); \ No newline at end of file diff --git a/wp-includes/assets/dist/notices.min.asset.php b/wp-includes/assets/dist/notices.min.asset.php deleted file mode 100644 index a887cfadb6..0000000000 --- a/wp-includes/assets/dist/notices.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '49e541be3dedbc75d4648c5dd8ae75d9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/nux.asset.php b/wp-includes/assets/dist/nux.asset.php deleted file mode 100644 index 8fda71b888..0000000000 --- a/wp-includes/assets/dist/nux.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '1ba37d76d312b3e4f35352e9e225e129'); \ No newline at end of file diff --git a/wp-includes/assets/dist/nux.min.asset.php b/wp-includes/assets/dist/nux.min.asset.php deleted file mode 100644 index a54c4ec3bf..0000000000 --- a/wp-includes/assets/dist/nux.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '33bf786da03040b30f1b6e8583ad0918'); \ No newline at end of file diff --git a/wp-includes/assets/dist/plugins.asset.php b/wp-includes/assets/dist/plugins.asset.php deleted file mode 100644 index 779a4cfb41..0000000000 --- a/wp-includes/assets/dist/plugins.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '474a4e9edc27fd2d9679d00ef548c966'); \ No newline at end of file diff --git a/wp-includes/assets/dist/plugins.min.asset.php b/wp-includes/assets/dist/plugins.min.asset.php deleted file mode 100644 index 65a4049406..0000000000 --- a/wp-includes/assets/dist/plugins.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '76fdde2c03a2edbcc352763ee5691dfc'); \ No newline at end of file diff --git a/wp-includes/assets/dist/primitives.asset.php b/wp-includes/assets/dist/primitives.asset.php deleted file mode 100644 index f575a3c528..0000000000 --- a/wp-includes/assets/dist/primitives.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-element', 'wp-polyfill'), 'version' => '6e6869dc94974fb23e5747bc1cf59e23'); \ No newline at end of file diff --git a/wp-includes/assets/dist/primitives.min.asset.php b/wp-includes/assets/dist/primitives.min.asset.php deleted file mode 100644 index 25546942b1..0000000000 --- a/wp-includes/assets/dist/primitives.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-element', 'wp-polyfill'), 'version' => '94b727e6d6cec664f90ac83255e1fc31'); \ No newline at end of file diff --git a/wp-includes/assets/dist/priority-queue.asset.php b/wp-includes/assets/dist/priority-queue.asset.php deleted file mode 100644 index cc1d124337..0000000000 --- a/wp-includes/assets/dist/priority-queue.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '8a1d6153fa8a4d4feec1d9ef21a1750f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/priority-queue.min.asset.php b/wp-includes/assets/dist/priority-queue.min.asset.php deleted file mode 100644 index c7ad32b3e2..0000000000 --- a/wp-includes/assets/dist/priority-queue.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => '242dabc3c3166623f5666797f1fde53f'); \ No newline at end of file diff --git a/wp-includes/assets/dist/redux-routine.asset.php b/wp-includes/assets/dist/redux-routine.asset.php deleted file mode 100644 index c08cdce124..0000000000 --- a/wp-includes/assets/dist/redux-routine.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '455bbe5442bfb84840ff801a9ea5be69'); \ No newline at end of file diff --git a/wp-includes/assets/dist/redux-routine.min.asset.php b/wp-includes/assets/dist/redux-routine.min.asset.php deleted file mode 100644 index d407ab8cc8..0000000000 --- a/wp-includes/assets/dist/redux-routine.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => 'a42b8ea701f8d96d8ab5ac510f516cbb'); \ No newline at end of file diff --git a/wp-includes/assets/dist/rich-text.asset.php b/wp-includes/assets/dist/rich-text.asset.php deleted file mode 100644 index 1f845e668b..0000000000 --- a/wp-includes/assets/dist/rich-text.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'ef45226203dde56110939da3aaaa0905'); \ No newline at end of file diff --git a/wp-includes/assets/dist/rich-text.min.asset.php b/wp-includes/assets/dist/rich-text.min.asset.php deleted file mode 100644 index c98a8fdc60..0000000000 --- a/wp-includes/assets/dist/rich-text.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'd1f757de85babfdf90d7f4e71ac926c9'); \ No newline at end of file diff --git a/wp-includes/assets/dist/server-side-render.asset.php b/wp-includes/assets/dist/server-side-render.asset.php deleted file mode 100644 index 05b12e0b8c..0000000000 --- a/wp-includes/assets/dist/server-side-render.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '110181c4ac96264be701b8a27777b9a2'); \ No newline at end of file diff --git a/wp-includes/assets/dist/server-side-render.min.asset.php b/wp-includes/assets/dist/server-side-render.min.asset.php deleted file mode 100644 index dcb0d7b535..0000000000 --- a/wp-includes/assets/dist/server-side-render.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'f0c3aeb78e81fb5640d689cec8c766b1'); \ No newline at end of file diff --git a/wp-includes/assets/dist/shortcode.asset.php b/wp-includes/assets/dist/shortcode.asset.php deleted file mode 100644 index e42a55a409..0000000000 --- a/wp-includes/assets/dist/shortcode.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '3173f285aee099b367ac20385a778615'); \ No newline at end of file diff --git a/wp-includes/assets/dist/shortcode.min.asset.php b/wp-includes/assets/dist/shortcode.min.asset.php deleted file mode 100644 index a3dfc21346..0000000000 --- a/wp-includes/assets/dist/shortcode.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => 'c98dbfc509417c9662995675dc9ecf20'); \ No newline at end of file diff --git a/wp-includes/assets/dist/token-list.asset.php b/wp-includes/assets/dist/token-list.asset.php deleted file mode 100644 index 468a38bf5e..0000000000 --- a/wp-includes/assets/dist/token-list.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '4b20a43e08878013a4cc5812236d6046'); \ No newline at end of file diff --git a/wp-includes/assets/dist/token-list.min.asset.php b/wp-includes/assets/dist/token-list.min.asset.php deleted file mode 100644 index 0b4ddbc8de..0000000000 --- a/wp-includes/assets/dist/token-list.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '131c8ce29b8bcde896570bde13812532'); \ No newline at end of file diff --git a/wp-includes/assets/dist/url.asset.php b/wp-includes/assets/dist/url.asset.php deleted file mode 100644 index 980fa6d498..0000000000 --- a/wp-includes/assets/dist/url.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '14dce49ab7da6088abc01bec4529f9d0'); \ No newline at end of file diff --git a/wp-includes/assets/dist/url.min.asset.php b/wp-includes/assets/dist/url.min.asset.php deleted file mode 100644 index feb3d6f2df..0000000000 --- a/wp-includes/assets/dist/url.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => 'd4b77a8be1b5945f22702f06afcce917'); \ No newline at end of file diff --git a/wp-includes/assets/dist/viewport.asset.php b/wp-includes/assets/dist/viewport.asset.php deleted file mode 100644 index a5e908869c..0000000000 --- a/wp-includes/assets/dist/viewport.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '8cd5499a15fd58371759a3182b50ac33'); \ No newline at end of file diff --git a/wp-includes/assets/dist/viewport.min.asset.php b/wp-includes/assets/dist/viewport.min.asset.php deleted file mode 100644 index 3141ec7aca..0000000000 --- a/wp-includes/assets/dist/viewport.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '5bb99845e9e6d5801d78b2baf6e1251a'); \ No newline at end of file diff --git a/wp-includes/assets/dist/warning.asset.php b/wp-includes/assets/dist/warning.asset.php deleted file mode 100644 index 1fd448ae3b..0000000000 --- a/wp-includes/assets/dist/warning.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'f634219101ddcef8327fb62f2bcb6a93'); \ No newline at end of file diff --git a/wp-includes/assets/dist/warning.min.asset.php b/wp-includes/assets/dist/warning.min.asset.php deleted file mode 100644 index 336862bbc7..0000000000 --- a/wp-includes/assets/dist/warning.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('wp-polyfill'), 'version' => 'e2358245d6ec8eef9f22f7f4bc6959d4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/wordcount.asset.php b/wp-includes/assets/dist/wordcount.asset.php deleted file mode 100644 index 8e4e5eec03..0000000000 --- a/wp-includes/assets/dist/wordcount.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '65dc9af6558243b4661ad44761e22cf4'); \ No newline at end of file diff --git a/wp-includes/assets/dist/wordcount.min.asset.php b/wp-includes/assets/dist/wordcount.min.asset.php deleted file mode 100644 index 0b93d57a29..0000000000 --- a/wp-includes/assets/dist/wordcount.min.asset.php +++ /dev/null @@ -1 +0,0 @@ - array('lodash', 'wp-polyfill'), 'version' => '17e58319587a61d43731bde0268ab549'); \ No newline at end of file diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php new file mode 100644 index 0000000000..a70a0975b5 --- /dev/null +++ b/wp-includes/assets/script-loader-packages.php @@ -0,0 +1 @@ + array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '75e8857bbf1d491f0c582e08b1dadbd6'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'da0fd5e89656a085dce028b7801d5448'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '3f9c4530789ad55104bd4e6fb1d7b2c0'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '205ce2875ce340d29d444c2b6204f1c0'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'aba7ab22bcfc07e4378e40e92e7ab85d'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '32349b6b799bb23ecdff857c3a1c85d8'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => 'b5ff1c6c60ac9bf9e43e71d7a0f992e4'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'a5882b7f029c0a75c9df5b562c076b86'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '493193bef61f5a7f8f8f89ca631a01de'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'ee754416797881e577236b3cc2495651'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => 'fd429ba1f75a7eee7aef48ce1895249c'), 'compose.js' => array('dependencies' => array('lodash', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill'), 'version' => '73886b98cede5ee6ca063ddc889ac566'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'a5dfc158a4629acf3eaa4c086bda8992'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '3442a3ba7f75e8c54d93263da11d0e77'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-polyfill'), 'version' => '9dd473f24e19d3b632d799376da103ed'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '030fdca2819467d4296a129a89763133'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'e016dcf6dc5ed48938f8622acbc152f3'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '4e3608876d4b4572c406b47966b8d075'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5045831f601200e96ad481e311acfe42'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => 'cc2c3b1f5dc2e8bfbb2bfb21c50a603f'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '63131715a52708dc239d4eafce97aba0'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '41f8060e94eb56bb3c5d230d8b7dc349'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'df3aea46fc6e3563882bc8891b21101d'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => 'c9654deb47ed294f14ff96151af02331'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd39b1cb0581c2927bbe7840b63f579fd'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'c43b49e3f3da377cefdadb0131ba7a31'), 'i18n.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f8c65a436595a2be28654f3d22e0cdef'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '3bb3f6a7a8127b024342e718ad297e81'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '3a74bf76a3ed9366813586bf5882bcea'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '2e2855269d5ab0ab5f2b9f8811e007a4'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '1df487d8230f49185e68ebf57decded6'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '30343cf12ac797ef15c05beb2befdf21'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '3b3e946b2d484de31e4be1dc7a48001e'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '1ba37d76d312b3e4f35352e9e225e129'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill'), 'version' => '474a4e9edc27fd2d9679d00ef548c966'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '6e6869dc94974fb23e5747bc1cf59e23'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8a1d6153fa8a4d4feec1d9ef21a1750f'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '455bbe5442bfb84840ff801a9ea5be69'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill'), 'version' => 'ef45226203dde56110939da3aaaa0905'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '110181c4ac96264be701b8a27777b9a2'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3173f285aee099b367ac20385a778615'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '4b20a43e08878013a4cc5812236d6046'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '14dce49ab7da6088abc01bec4529f9d0'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '8cd5499a15fd58371759a3182b50ac33'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f634219101ddcef8327fb62f2bcb6a93'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '65dc9af6558243b4661ad44761e22cf4')); \ No newline at end of file diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index ef085b5c93..60994dce30 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -231,81 +231,23 @@ function wp_get_script_polyfill( &$scripts, $tests ) { function wp_default_packages_scripts( &$scripts ) { $suffix = wp_scripts_get_suffix(); - $packages = array( - 'a11y', - 'annotations', - 'api-fetch', - 'autop', - 'blob', - 'block-directory', - 'block-editor', - 'block-library', - 'block-serialization-default-parser', - 'blocks', - 'components', - 'compose', - 'core-data', - 'data', - 'data-controls', - 'date', - 'deprecated', - 'dom', - 'dom-ready', - 'edit-post', - 'editor', - 'element', - 'escape-html', - 'format-library', - 'hooks', - 'html-entities', - 'i18n', - 'is-shallow-equal', - 'keyboard-shortcuts', - 'keycodes', - 'list-reusable-blocks', - 'media-utils', - 'notices', - 'nux', - 'plugins', - 'primitives', - 'priority-queue', - 'redux-routine', - 'rich-text', - 'shortcode', - 'server-side-render', - 'token-list', - 'url', - 'viewport', - 'warning', - 'wordcount', - ); + // Expects multidimensional array like: + // 'a11y.js' => array('dependencies' => array(...), 'version' => '...'), + // 'annotations.js' => array('dependencies' => array(...), 'version' => '...'), + // 'api-fetch.js' => array(... + $assets = include ABSPATH . WPINC . '/assets/script-loader-packages.php'; - $package_translations = array( - 'api-fetch', - 'blocks', - 'block-directory', - 'block-editor', - 'block-library', - 'components', - 'edit-post', - 'editor', - 'format-library', - 'keycodes', - 'list-reusable-blocks', - 'nux', - ); + foreach ( $assets as $package_name => $package_data ) { + $basename = basename( $package_name, '.js' ); + $handle = 'wp-' . $basename; + $path = "/wp-includes/js/dist/{$basename}{$suffix}.js"; - foreach ( $packages as $package ) { - $handle = 'wp-' . $package; - $path = "/wp-includes/js/dist/$package$suffix.js"; - - if ( ! file_exists( ABSPATH . $path ) ) { - continue; + if ( ! empty( $package_data['dependencies'] ) ) { + $dependencies = $package_data['dependencies']; + } else { + $dependencies = array(); } - $asset_file = require ABSPATH . WPINC . "/assets/dist/$package$suffix.asset.php"; - $dependencies = $asset_file['dependencies']; - // Add dependencies that cannot be detected and generated by build tools. switch ( $handle ) { case 'wp-block-library': @@ -316,9 +258,9 @@ function wp_default_packages_scripts( &$scripts ) { break; } - $scripts->add( $handle, $path, $dependencies, $asset_file['version'], 1 ); + $scripts->add( $handle, $path, $dependencies, $package_data['version'], 1 ); - if ( in_array( $package, $package_translations, true ) ) { + if ( in_array( 'wp-i18n', $dependencies, true ) ) { $scripts->set_translations( $handle ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f3d6a0c17..e0f06b973c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-beta2-47351'; +$wp_version = '5.4-beta2-47352'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.