From 0765a2d74263721a85dd2cb89d46d3e0194d520f Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Wed, 31 Jan 2024 10:43:35 +0100 Subject: [PATCH 1/4] Editor: Update the WordPress Packages to Gutenberg 17.6 RC3 --- package-lock.json | 438 +++++++++--------- package.json | 34 +- .../assets/script-loader-packages.min.php | 2 +- src/wp-includes/blocks/group/block.json | 1 - src/wp-includes/blocks/navigation.php | 22 +- src/wp-includes/blocks/pattern.php | 2 + .../blocks/post-navigation-link.php | 6 +- src/wp-includes/interactivity-api.php | 26 ++ src/wp-settings.php | 1 + tools/webpack/blocks.js | 3 +- tools/webpack/modules.js | 31 +- tools/webpack/shared.js | 5 +- 12 files changed, 289 insertions(+), 282 deletions(-) create mode 100644 src/wp-includes/interactivity-api.php diff --git a/package-lock.json b/package-lock.json index 91b836800731d..8be5038019fdb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,37 +16,37 @@ "@wordpress/api-fetch": "6.47.0", "@wordpress/autop": "3.50.0", "@wordpress/blob": "3.50.0", - "@wordpress/block-directory": "4.27.1", - "@wordpress/block-editor": "12.18.1", - "@wordpress/block-library": "8.27.1", + "@wordpress/block-directory": "4.27.2", + "@wordpress/block-editor": "12.18.2", + "@wordpress/block-library": "8.27.2", "@wordpress/block-serialization-default-parser": "4.50.0", "@wordpress/blocks": "12.27.1", "@wordpress/commands": "0.21.0", "@wordpress/components": "25.16.0", "@wordpress/compose": "6.27.0", - "@wordpress/core-commands": "0.19.1", - "@wordpress/core-data": "6.27.1", - "@wordpress/customize-widgets": "4.27.1", + "@wordpress/core-commands": "0.19.2", + "@wordpress/core-data": "6.27.2", + "@wordpress/customize-widgets": "4.27.2", "@wordpress/data": "9.20.0", "@wordpress/data-controls": "3.19.0", - "@wordpress/dataviews": "0.4.0", + "@wordpress/dataviews": "0.4.1", "@wordpress/date": "4.50.0", "@wordpress/deprecated": "3.50.0", "@wordpress/dom": "3.50.0", "@wordpress/dom-ready": "3.50.0", - "@wordpress/edit-post": "7.27.1", - "@wordpress/edit-site": "5.27.1", - "@wordpress/edit-widgets": "5.27.1", - "@wordpress/editor": "13.27.1", + "@wordpress/edit-post": "7.27.2", + "@wordpress/edit-site": "5.27.2", + "@wordpress/edit-widgets": "5.27.2", + "@wordpress/editor": "13.27.2", "@wordpress/element": "5.27.0", "@wordpress/escape-html": "2.50.0", - "@wordpress/format-library": "4.27.1", + "@wordpress/format-library": "4.27.2", "@wordpress/hooks": "3.50.0", "@wordpress/html-entities": "3.50.0", "@wordpress/i18n": "4.50.0", "@wordpress/icons": "9.41.0", - "@wordpress/interactivity": "4.0.0", - "@wordpress/interactivity-router": "1.0.0", + "@wordpress/interactivity": "4.0.1", + "@wordpress/interactivity-router": "1.0.1", "@wordpress/interface": "5.27.0", "@wordpress/is-shallow-equal": "4.50.0", "@wordpress/keyboard-shortcuts": "4.27.0", @@ -55,7 +55,7 @@ "@wordpress/media-utils": "4.41.0", "@wordpress/notices": "4.18.0", "@wordpress/nux": "8.12.0", - "@wordpress/patterns": "1.11.1", + "@wordpress/patterns": "1.11.2", "@wordpress/plugins": "6.18.0", "@wordpress/preferences": "3.27.0", "@wordpress/preferences-persistence": "1.42.0", @@ -63,7 +63,7 @@ "@wordpress/priority-queue": "2.50.0", "@wordpress/private-apis": "0.32.0", "@wordpress/redux-routine": "4.50.0", - "@wordpress/reusable-blocks": "4.27.1", + "@wordpress/reusable-blocks": "4.27.2", "@wordpress/rich-text": "6.27.0", "@wordpress/router": "0.19.0", "@wordpress/server-side-render": "4.27.1", @@ -75,7 +75,7 @@ "@wordpress/url": "3.51.0", "@wordpress/viewport": "5.27.0", "@wordpress/warning": "2.50.0", - "@wordpress/widgets": "3.27.1", + "@wordpress/widgets": "3.27.2", "@wordpress/wordcount": "3.50.0", "backbone": "1.5.0", "clipboard": "2.0.11", @@ -6188,21 +6188,21 @@ } }, "node_modules/@wordpress/block-directory": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.27.1.tgz", - "integrity": "sha512-O1qm9AumFZbEOI41HoUDyAaL+cOwjtzW4/8JADbNVmnKXj9bQE8CKbTvbsjin7BUEvM+IdYWzEXkY3KkgxBmTg==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.27.2.tgz", + "integrity": "sha512-EblzP8BbkqAeFomH3/L9wdmbz1iw0n2siBMdZNZKHifwWv0iLFQfZlMZo4ImgWwC4YE3is7zSGpkWJ1kHMbj7w==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", - "@wordpress/edit-post": "^7.27.1", - "@wordpress/editor": "^13.27.1", + "@wordpress/edit-post": "^7.27.2", + "@wordpress/editor": "^13.27.2", "@wordpress/element": "^5.27.0", "@wordpress/hooks": "^3.50.0", "@wordpress/html-entities": "^3.50.0", @@ -6223,9 +6223,9 @@ } }, "node_modules/@wordpress/block-editor": { - "version": "12.18.1", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-12.18.1.tgz", - "integrity": "sha512-kZPqOO0ogS3y3HcStGRowLKJk66cv9zzQtLcx7YNokYrceqnOWEYddhv+OWRz7h/qmkEBHgZfUCEgCQm2Dulnw==", + "version": "12.18.2", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-12.18.2.tgz", + "integrity": "sha512-LDZIcp5Bl2FCyfkf07XgfM0kzY+AYhyTS4kt2U4GRSeUey79AM+GIYXb8TM2Y68B09HP/rpntBW4e/cBqjHfjw==", "dependencies": { "@babel/runtime": "^7.16.0", "@emotion/react": "^11.7.1", @@ -6285,20 +6285,20 @@ } }, "node_modules/@wordpress/block-library": { - "version": "8.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.27.1.tgz", - "integrity": "sha512-dadyMsUM4A1b4FM3qlL9LwToJHYmVCCiL8Ir471C1N8v8LoZJjaGr5GvJTw61rSF6dy9951IvLl4+HxlGQPUew==", + "version": "8.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.27.2.tgz", + "integrity": "sha512-Wabc1nmCMuTr/BgS63iHaQYtvfVO9Z30SwLaMVLHwGe7Hrvtb19pSOwKb/PIuoiWrlqJ/sZEZPXFENAJB5FVYA==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", "@wordpress/autop": "^3.50.0", "@wordpress/blob": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/date": "^4.50.0", "@wordpress/deprecated": "^3.50.0", @@ -6309,14 +6309,14 @@ "@wordpress/html-entities": "^3.50.0", "@wordpress/i18n": "^4.50.0", "@wordpress/icons": "^9.41.0", - "@wordpress/interactivity": "^4.0.0", - "@wordpress/interactivity-router": "^1.0.0", + "@wordpress/interactivity": "^4.0.1", + "@wordpress/interactivity-router": "^1.0.1", "@wordpress/keycodes": "^3.50.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/primitives": "^3.48.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/rich-text": "^6.27.0", "@wordpress/server-side-render": "^4.27.1", "@wordpress/url": "^3.51.0", @@ -6517,14 +6517,14 @@ } }, "node_modules/@wordpress/core-commands": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-0.19.1.tgz", - "integrity": "sha512-gmgiVtb17PEZgyH+UikE0B0Q6n22fXdscnu1lb/fBIKMgK10Jke4edin5qCbBINyqxykthkKvZO6VYpNjgcSHA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-0.19.2.tgz", + "integrity": "sha512-9ewP1fxB8MB5u15zMZBfShgGN2qJl+fBXCWR9MXB3gi8gA/Kd600W5I/jh2nLJuCRou09SsRzI6s+ihnir/V4A==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/commands": "^0.21.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/i18n": "^4.50.0", @@ -6542,13 +6542,13 @@ } }, "node_modules/@wordpress/core-data": { - "version": "6.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-6.27.1.tgz", - "integrity": "sha512-Nbm0xkgkkyk67f2GtnlS5udxYqBQcLGoDIhWjNY2m+uguM/Fr4cv6QGIyb1tIcwEBIrZcAaAsS/eA1yro5ygHw==", + "version": "6.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-6.27.2.tgz", + "integrity": "sha512-Jsy+vW/izrd/T36D/4b266ScobCezNYX2Me/clCmHGB4eRW3drXZPbMnWZLNEDagYr87sQcM1Namasb69dnDhA==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/compose": "^6.27.0", "@wordpress/data": "^9.20.0", @@ -6578,17 +6578,17 @@ } }, "node_modules/@wordpress/customize-widgets": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.27.1.tgz", - "integrity": "sha512-iRKhFIT98NI2p7Ga25YiMI9A0FOm0vWyq2vwd3/Qahm5wOlBmOJHRxAOhnY7MRWhqZQE8a9Mb63o/7Kupct0tw==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.27.2.tgz", + "integrity": "sha512-zq/PacEqW8eMX6LKeMHn39JNU2ZJ3GiCH3+oOeI3eewN8/aGrtJJh1btSL0liLTDXo6dqnQ8AXHjGu9/J/XDSg==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/dom": "^3.50.0", "@wordpress/element": "^5.27.0", @@ -6602,7 +6602,7 @@ "@wordpress/media-utils": "^4.41.0", "@wordpress/preferences": "^3.27.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "classnames": "^2.3.1", "fast-deep-equal": "^3.1.3" }, @@ -6660,9 +6660,9 @@ } }, "node_modules/@wordpress/dataviews": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@wordpress/dataviews/-/dataviews-0.4.0.tgz", - "integrity": "sha512-fVw+VBntjUMBQKhmJnlajw1jyS572D2VNGhD+TXJKk+fshPwpb8oM4Y71g+2V/f9X/DnIn0VmVKPFt3m/CJxVw==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@wordpress/dataviews/-/dataviews-0.4.1.tgz", + "integrity": "sha512-9ZTP5l9lyLMK95uEuAbOkILPIa2XvYxm2qa5Yo6SEUJbKnOVGCGH1fcNX1GuzHHrJwclYA3TeGgMaYoXpudjjw==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", @@ -6834,25 +6834,25 @@ } }, "node_modules/@wordpress/edit-post": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.27.1.tgz", - "integrity": "sha512-cXwDCU23AbkQhOYueAYN/g5USSX4BBvB2MueAJUc5iusL9boJzowAkkxRoGBBt5KZiSfseTGsHepmtEGG7X0Fg==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.27.2.tgz", + "integrity": "sha512-GEWPr2TkzOH2OZx+WVtn+DGrkE+H5GOq1w+vAtoCEq1lLIdkGJe+YAieJKkSz/rqah25YzmRcyBgfYSL2iaULg==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/commands": "^0.21.0", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-commands": "^0.19.1", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-commands": "^0.19.2", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/deprecated": "^3.50.0", "@wordpress/dom": "^3.50.0", - "@wordpress/editor": "^13.27.1", + "@wordpress/editor": "^13.27.2", "@wordpress/element": "^5.27.0", "@wordpress/hooks": "^3.50.0", "@wordpress/i18n": "^4.50.0", @@ -6868,7 +6868,7 @@ "@wordpress/url": "^3.51.0", "@wordpress/viewport": "^5.27.0", "@wordpress/warning": "^2.50.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "classnames": "^2.3.1", "memize": "^2.1.0", "rememo": "^4.0.2" @@ -6882,28 +6882,28 @@ } }, "node_modules/@wordpress/edit-site": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.27.1.tgz", - "integrity": "sha512-jl8nuCP4BwdI2PiYTQHDxUqXRIdDYV8PpMHkPEXPRrLPe/uJ6YnQqFj4zJb+0sGcDSBcUqEjZwfpd0evnqGiQw==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.27.2.tgz", + "integrity": "sha512-/lZhqadnX/A7owFre4ZxcKjlj7pisdxVAQJgtB9OYSdpreG2x8sGNKvLhv686BTKzSffS1TzvmKbNl7e+pQZDA==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", "@wordpress/blob": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/commands": "^0.21.0", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-commands": "^0.19.1", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-commands": "^0.19.2", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", - "@wordpress/dataviews": "^0.4.0", + "@wordpress/dataviews": "^0.4.1", "@wordpress/date": "^4.50.0", "@wordpress/deprecated": "^3.50.0", "@wordpress/dom": "^3.50.0", - "@wordpress/editor": "^13.27.1", + "@wordpress/editor": "^13.27.2", "@wordpress/element": "^5.27.0", "@wordpress/escape-html": "^2.50.0", "@wordpress/hooks": "^3.50.0", @@ -6915,17 +6915,17 @@ "@wordpress/keycodes": "^3.50.0", "@wordpress/media-utils": "^4.41.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/plugins": "^6.18.0", "@wordpress/preferences": "^3.27.0", "@wordpress/primitives": "^3.48.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/router": "^0.19.0", "@wordpress/style-engine": "^1.33.1", "@wordpress/url": "^3.51.0", "@wordpress/viewport": "^5.27.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "@wordpress/wordcount": "^3.50.0", "change-case": "^4.1.2", "classnames": "^2.3.1", @@ -6947,18 +6947,18 @@ } }, "node_modules/@wordpress/edit-widgets": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.27.1.tgz", - "integrity": "sha512-MTiIujW4KGTbJrlyglzIfm19rIVqK+Ny1rcBV8A1AM2rJc2vOjFyzlkGH+MkesrUHu4R4CUwzFyCRrPC/+VImA==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.27.2.tgz", + "integrity": "sha512-AE5qgDCd5u16C3/EZQAP3STcxfpTZg2Ed6iHmN+PBg1RCEP11rv31aMaXy2+7Z+80bGsXwicmZAlqHxzm2vc2g==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/deprecated": "^3.50.0", "@wordpress/dom": "^3.50.0", @@ -6971,13 +6971,13 @@ "@wordpress/keycodes": "^3.50.0", "@wordpress/media-utils": "^4.41.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/plugins": "^6.18.0", "@wordpress/preferences": "^3.27.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/url": "^3.51.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "classnames": "^2.3.1", "rememo": "^4.0.2" }, @@ -6990,20 +6990,20 @@ } }, "node_modules/@wordpress/editor": { - "version": "13.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-13.27.1.tgz", - "integrity": "sha512-n8DwCqEGqXyPg/+2YBsoaUR9rWbXwB/YexbPdmRwCpWPzxPFDOz/nHBZwez1E24ty50YsBW8NTkXUaarpPkHJQ==", + "version": "13.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-13.27.2.tgz", + "integrity": "sha512-Wk1dwG5bkmDD74zip36yC1NO3EleXe/t35Z9GHfLaiZkUYlhZV2gv66QrrGN7Y59Zl68j+b4lRGLkUxEMWkleA==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", "@wordpress/blob": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/commands": "^0.21.0", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/date": "^4.50.0", "@wordpress/deprecated": "^3.50.0", @@ -7017,10 +7017,10 @@ "@wordpress/keycodes": "^3.50.0", "@wordpress/media-utils": "^4.41.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/preferences": "^3.27.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/rich-text": "^6.27.0", "@wordpress/server-side-render": "^4.27.1", "@wordpress/url": "^3.51.0", @@ -7128,13 +7128,13 @@ } }, "node_modules/@wordpress/format-library": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-4.27.1.tgz", - "integrity": "sha512-+jdmGf8cPk6jCZcndI/kqeaf6YYQCIjBYTgBJsUUOP92HTIDq6pAECH8XqBX2n2V+QX4WirXwBvjkZ5IgjPVvg==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-4.27.2.tgz", + "integrity": "sha512-pgLWc+8QuRyWc3GtEL1X18u4FNmWI3Y821TbKW1MjnfMDYNhN7Vpypqk4AFuxq2PY0NxzmM0PGdcoqUXRGdldQ==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", "@wordpress/data": "^9.20.0", @@ -7209,9 +7209,9 @@ } }, "node_modules/@wordpress/interactivity": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@wordpress/interactivity/-/interactivity-4.0.0.tgz", - "integrity": "sha512-+KIzJVcz5Z0a/CeMBY7DEFsXCeEd+/gDYgQwWY7W7/nUwr5frT4X+i760Yv8J40JN8IMaQeKStcGEcm62C7jjg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@wordpress/interactivity/-/interactivity-4.0.1.tgz", + "integrity": "sha512-sw9Cqoj+MNF9FAU5nJC3nAqoH7kgUvh6HwaEMaLdSlK0qEcp05ba5x7geDSNi5cUWY4QSk1r9DH2jKUg9zfpNg==", "dependencies": { "@preact/signals": "^1.2.2", "deepsignal": "^1.4.0", @@ -7222,11 +7222,11 @@ } }, "node_modules/@wordpress/interactivity-router": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@wordpress/interactivity-router/-/interactivity-router-1.0.0.tgz", - "integrity": "sha512-q+ulJGYFCX+CGTdGHraZvbpB+jsv0tYSEEV6mWsKU7ujj+NelPa5ngL9XbyGTAOEZqOauWQ/4H3SP9k25u6iQg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@wordpress/interactivity-router/-/interactivity-router-1.0.1.tgz", + "integrity": "sha512-XShZV0+Sqs+1C26nVyns6nT8kjAGRBJNArVPceZlkkpsX7DIRZcEZ2larWxOuQFWk67lzIRiXd5V51L71b8XrQ==", "dependencies": { - "@wordpress/interactivity": "^4.0.0" + "@wordpress/interactivity": "^4.0.1" }, "engines": { "node": ">=12" @@ -7423,17 +7423,17 @@ } }, "node_modules/@wordpress/patterns": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@wordpress/patterns/-/patterns-1.11.1.tgz", - "integrity": "sha512-fC05YOVXcCJA5iAqxgkoMuDR01TcOCgIBYuQdoLgmYMowaV060CHf4qRh79J7979ed/WHjg2UQR6sA5eJx+Z+Q==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/@wordpress/patterns/-/patterns-1.11.2.tgz", + "integrity": "sha512-cN7xjw5pfKq73mVF0q0ebZh4DmAab5SlQ9CvM7PtB03JOl3GMwVIDV5Tnbbhfi1KIsFwep2/CGft3xwuJlS3FQ==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/html-entities": "^3.50.0", @@ -7593,15 +7593,15 @@ } }, "node_modules/@wordpress/reusable-blocks": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-4.27.1.tgz", - "integrity": "sha512-Q+mzjIZqoSLwFihpQzn4kApxj3/Rp+vLDPc2cUm41+L6belpSqXxvxrcB5gr/wjStTQKCLzZRptgvt/fG90OdQ==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-4.27.2.tgz", + "integrity": "sha512-kkhZyYFj4rbf7lPOqDMfaNO3fqLEyHYKjWITWzRMUPtLeIHin/DHepVz6Z6NERANHpbP0mD4BDoBEGYJ9/brbA==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/i18n": "^4.50.0", @@ -8394,17 +8394,17 @@ } }, "node_modules/@wordpress/widgets": { - "version": "3.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-3.27.1.tgz", - "integrity": "sha512-KrN24nN4B5nNnzV572yeEQnvqf2p3rKBjA9mTSK7Ei5nY1yvuFQn/LxiihbqqSJikliEMkh/cZ152JvIx5j6JA==", + "version": "3.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-3.27.2.tgz", + "integrity": "sha512-z/OsrXbBY8PanemOHdtup1OlfdBmbc6dMfXqZ3pelH75z4n73JtPhVEqM/FJFdwP737fV1gU1nvMB17VtnyXKw==", "dependencies": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/i18n": "^4.50.0", @@ -37852,21 +37852,21 @@ } }, "@wordpress/block-directory": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.27.1.tgz", - "integrity": "sha512-O1qm9AumFZbEOI41HoUDyAaL+cOwjtzW4/8JADbNVmnKXj9bQE8CKbTvbsjin7BUEvM+IdYWzEXkY3KkgxBmTg==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.27.2.tgz", + "integrity": "sha512-EblzP8BbkqAeFomH3/L9wdmbz1iw0n2siBMdZNZKHifwWv0iLFQfZlMZo4ImgWwC4YE3is7zSGpkWJ1kHMbj7w==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", - "@wordpress/edit-post": "^7.27.1", - "@wordpress/editor": "^13.27.1", + "@wordpress/edit-post": "^7.27.2", + "@wordpress/editor": "^13.27.2", "@wordpress/element": "^5.27.0", "@wordpress/hooks": "^3.50.0", "@wordpress/html-entities": "^3.50.0", @@ -37880,9 +37880,9 @@ } }, "@wordpress/block-editor": { - "version": "12.18.1", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-12.18.1.tgz", - "integrity": "sha512-kZPqOO0ogS3y3HcStGRowLKJk66cv9zzQtLcx7YNokYrceqnOWEYddhv+OWRz7h/qmkEBHgZfUCEgCQm2Dulnw==", + "version": "12.18.2", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-12.18.2.tgz", + "integrity": "sha512-LDZIcp5Bl2FCyfkf07XgfM0kzY+AYhyTS4kt2U4GRSeUey79AM+GIYXb8TM2Y68B09HP/rpntBW4e/cBqjHfjw==", "requires": { "@babel/runtime": "^7.16.0", "@emotion/react": "^11.7.1", @@ -37935,20 +37935,20 @@ } }, "@wordpress/block-library": { - "version": "8.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.27.1.tgz", - "integrity": "sha512-dadyMsUM4A1b4FM3qlL9LwToJHYmVCCiL8Ir471C1N8v8LoZJjaGr5GvJTw61rSF6dy9951IvLl4+HxlGQPUew==", + "version": "8.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.27.2.tgz", + "integrity": "sha512-Wabc1nmCMuTr/BgS63iHaQYtvfVO9Z30SwLaMVLHwGe7Hrvtb19pSOwKb/PIuoiWrlqJ/sZEZPXFENAJB5FVYA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", "@wordpress/autop": "^3.50.0", "@wordpress/blob": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/date": "^4.50.0", "@wordpress/deprecated": "^3.50.0", @@ -37959,14 +37959,14 @@ "@wordpress/html-entities": "^3.50.0", "@wordpress/i18n": "^4.50.0", "@wordpress/icons": "^9.41.0", - "@wordpress/interactivity": "^4.0.0", - "@wordpress/interactivity-router": "^1.0.0", + "@wordpress/interactivity": "^4.0.1", + "@wordpress/interactivity-router": "^1.0.1", "@wordpress/keycodes": "^3.50.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/primitives": "^3.48.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/rich-text": "^6.27.0", "@wordpress/server-side-render": "^4.27.1", "@wordpress/url": "^3.51.0", @@ -38128,14 +38128,14 @@ } }, "@wordpress/core-commands": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-0.19.1.tgz", - "integrity": "sha512-gmgiVtb17PEZgyH+UikE0B0Q6n22fXdscnu1lb/fBIKMgK10Jke4edin5qCbBINyqxykthkKvZO6VYpNjgcSHA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-0.19.2.tgz", + "integrity": "sha512-9ewP1fxB8MB5u15zMZBfShgGN2qJl+fBXCWR9MXB3gi8gA/Kd600W5I/jh2nLJuCRou09SsRzI6s+ihnir/V4A==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/commands": "^0.21.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/i18n": "^4.50.0", @@ -38146,13 +38146,13 @@ } }, "@wordpress/core-data": { - "version": "6.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-6.27.1.tgz", - "integrity": "sha512-Nbm0xkgkkyk67f2GtnlS5udxYqBQcLGoDIhWjNY2m+uguM/Fr4cv6QGIyb1tIcwEBIrZcAaAsS/eA1yro5ygHw==", + "version": "6.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-6.27.2.tgz", + "integrity": "sha512-Jsy+vW/izrd/T36D/4b266ScobCezNYX2Me/clCmHGB4eRW3drXZPbMnWZLNEDagYr87sQcM1Namasb69dnDhA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/compose": "^6.27.0", "@wordpress/data": "^9.20.0", @@ -38175,17 +38175,17 @@ } }, "@wordpress/customize-widgets": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.27.1.tgz", - "integrity": "sha512-iRKhFIT98NI2p7Ga25YiMI9A0FOm0vWyq2vwd3/Qahm5wOlBmOJHRxAOhnY7MRWhqZQE8a9Mb63o/7Kupct0tw==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.27.2.tgz", + "integrity": "sha512-zq/PacEqW8eMX6LKeMHn39JNU2ZJ3GiCH3+oOeI3eewN8/aGrtJJh1btSL0liLTDXo6dqnQ8AXHjGu9/J/XDSg==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/dom": "^3.50.0", "@wordpress/element": "^5.27.0", @@ -38199,7 +38199,7 @@ "@wordpress/media-utils": "^4.41.0", "@wordpress/preferences": "^3.27.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "classnames": "^2.3.1", "fast-deep-equal": "^3.1.3" } @@ -38238,9 +38238,9 @@ } }, "@wordpress/dataviews": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@wordpress/dataviews/-/dataviews-0.4.0.tgz", - "integrity": "sha512-fVw+VBntjUMBQKhmJnlajw1jyS572D2VNGhD+TXJKk+fshPwpb8oM4Y71g+2V/f9X/DnIn0VmVKPFt3m/CJxVw==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@wordpress/dataviews/-/dataviews-0.4.1.tgz", + "integrity": "sha512-9ZTP5l9lyLMK95uEuAbOkILPIa2XvYxm2qa5Yo6SEUJbKnOVGCGH1fcNX1GuzHHrJwclYA3TeGgMaYoXpudjjw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", @@ -38367,25 +38367,25 @@ } }, "@wordpress/edit-post": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.27.1.tgz", - "integrity": "sha512-cXwDCU23AbkQhOYueAYN/g5USSX4BBvB2MueAJUc5iusL9boJzowAkkxRoGBBt5KZiSfseTGsHepmtEGG7X0Fg==", + "version": "7.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.27.2.tgz", + "integrity": "sha512-GEWPr2TkzOH2OZx+WVtn+DGrkE+H5GOq1w+vAtoCEq1lLIdkGJe+YAieJKkSz/rqah25YzmRcyBgfYSL2iaULg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/commands": "^0.21.0", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-commands": "^0.19.1", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-commands": "^0.19.2", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/deprecated": "^3.50.0", "@wordpress/dom": "^3.50.0", - "@wordpress/editor": "^13.27.1", + "@wordpress/editor": "^13.27.2", "@wordpress/element": "^5.27.0", "@wordpress/hooks": "^3.50.0", "@wordpress/i18n": "^4.50.0", @@ -38401,35 +38401,35 @@ "@wordpress/url": "^3.51.0", "@wordpress/viewport": "^5.27.0", "@wordpress/warning": "^2.50.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "classnames": "^2.3.1", "memize": "^2.1.0", "rememo": "^4.0.2" } }, "@wordpress/edit-site": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.27.1.tgz", - "integrity": "sha512-jl8nuCP4BwdI2PiYTQHDxUqXRIdDYV8PpMHkPEXPRrLPe/uJ6YnQqFj4zJb+0sGcDSBcUqEjZwfpd0evnqGiQw==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.27.2.tgz", + "integrity": "sha512-/lZhqadnX/A7owFre4ZxcKjlj7pisdxVAQJgtB9OYSdpreG2x8sGNKvLhv686BTKzSffS1TzvmKbNl7e+pQZDA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", "@wordpress/blob": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/commands": "^0.21.0", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-commands": "^0.19.1", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-commands": "^0.19.2", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", - "@wordpress/dataviews": "^0.4.0", + "@wordpress/dataviews": "^0.4.1", "@wordpress/date": "^4.50.0", "@wordpress/deprecated": "^3.50.0", "@wordpress/dom": "^3.50.0", - "@wordpress/editor": "^13.27.1", + "@wordpress/editor": "^13.27.2", "@wordpress/element": "^5.27.0", "@wordpress/escape-html": "^2.50.0", "@wordpress/hooks": "^3.50.0", @@ -38441,17 +38441,17 @@ "@wordpress/keycodes": "^3.50.0", "@wordpress/media-utils": "^4.41.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/plugins": "^6.18.0", "@wordpress/preferences": "^3.27.0", "@wordpress/primitives": "^3.48.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/router": "^0.19.0", "@wordpress/style-engine": "^1.33.1", "@wordpress/url": "^3.51.0", "@wordpress/viewport": "^5.27.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "@wordpress/wordcount": "^3.50.0", "change-case": "^4.1.2", "classnames": "^2.3.1", @@ -38466,18 +38466,18 @@ } }, "@wordpress/edit-widgets": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.27.1.tgz", - "integrity": "sha512-MTiIujW4KGTbJrlyglzIfm19rIVqK+Ny1rcBV8A1AM2rJc2vOjFyzlkGH+MkesrUHu4R4CUwzFyCRrPC/+VImA==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.27.2.tgz", + "integrity": "sha512-AE5qgDCd5u16C3/EZQAP3STcxfpTZg2Ed6iHmN+PBg1RCEP11rv31aMaXy2+7Z+80bGsXwicmZAlqHxzm2vc2g==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", - "@wordpress/block-library": "^8.27.1", + "@wordpress/block-editor": "^12.18.2", + "@wordpress/block-library": "^8.27.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/deprecated": "^3.50.0", "@wordpress/dom": "^3.50.0", @@ -38490,32 +38490,32 @@ "@wordpress/keycodes": "^3.50.0", "@wordpress/media-utils": "^4.41.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/plugins": "^6.18.0", "@wordpress/preferences": "^3.27.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/url": "^3.51.0", - "@wordpress/widgets": "^3.27.1", + "@wordpress/widgets": "^3.27.2", "classnames": "^2.3.1", "rememo": "^4.0.2" } }, "@wordpress/editor": { - "version": "13.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-13.27.1.tgz", - "integrity": "sha512-n8DwCqEGqXyPg/+2YBsoaUR9rWbXwB/YexbPdmRwCpWPzxPFDOz/nHBZwez1E24ty50YsBW8NTkXUaarpPkHJQ==", + "version": "13.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-13.27.2.tgz", + "integrity": "sha512-Wk1dwG5bkmDD74zip36yC1NO3EleXe/t35Z9GHfLaiZkUYlhZV2gv66QrrGN7Y59Zl68j+b4lRGLkUxEMWkleA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", "@wordpress/api-fetch": "^6.47.0", "@wordpress/blob": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/commands": "^0.21.0", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/date": "^4.50.0", "@wordpress/deprecated": "^3.50.0", @@ -38529,10 +38529,10 @@ "@wordpress/keycodes": "^3.50.0", "@wordpress/media-utils": "^4.41.0", "@wordpress/notices": "^4.18.0", - "@wordpress/patterns": "^1.11.1", + "@wordpress/patterns": "^1.11.2", "@wordpress/preferences": "^3.27.0", "@wordpress/private-apis": "^0.32.0", - "@wordpress/reusable-blocks": "^4.27.1", + "@wordpress/reusable-blocks": "^4.27.2", "@wordpress/rich-text": "^6.27.0", "@wordpress/server-side-render": "^4.27.1", "@wordpress/url": "^3.51.0", @@ -38605,13 +38605,13 @@ } }, "@wordpress/format-library": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-4.27.1.tgz", - "integrity": "sha512-+jdmGf8cPk6jCZcndI/kqeaf6YYQCIjBYTgBJsUUOP92HTIDq6pAECH8XqBX2n2V+QX4WirXwBvjkZ5IgjPVvg==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-4.27.2.tgz", + "integrity": "sha512-pgLWc+8QuRyWc3GtEL1X18u4FNmWI3Y821TbKW1MjnfMDYNhN7Vpypqk4AFuxq2PY0NxzmM0PGdcoqUXRGdldQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", "@wordpress/data": "^9.20.0", @@ -38664,9 +38664,9 @@ } }, "@wordpress/interactivity": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@wordpress/interactivity/-/interactivity-4.0.0.tgz", - "integrity": "sha512-+KIzJVcz5Z0a/CeMBY7DEFsXCeEd+/gDYgQwWY7W7/nUwr5frT4X+i760Yv8J40JN8IMaQeKStcGEcm62C7jjg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@wordpress/interactivity/-/interactivity-4.0.1.tgz", + "integrity": "sha512-sw9Cqoj+MNF9FAU5nJC3nAqoH7kgUvh6HwaEMaLdSlK0qEcp05ba5x7geDSNi5cUWY4QSk1r9DH2jKUg9zfpNg==", "requires": { "@preact/signals": "^1.2.2", "deepsignal": "^1.4.0", @@ -38674,11 +38674,11 @@ } }, "@wordpress/interactivity-router": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@wordpress/interactivity-router/-/interactivity-router-1.0.0.tgz", - "integrity": "sha512-q+ulJGYFCX+CGTdGHraZvbpB+jsv0tYSEEV6mWsKU7ujj+NelPa5ngL9XbyGTAOEZqOauWQ/4H3SP9k25u6iQg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@wordpress/interactivity-router/-/interactivity-router-1.0.1.tgz", + "integrity": "sha512-XShZV0+Sqs+1C26nVyns6nT8kjAGRBJNArVPceZlkkpsX7DIRZcEZ2larWxOuQFWk67lzIRiXd5V51L71b8XrQ==", "requires": { - "@wordpress/interactivity": "^4.0.0" + "@wordpress/interactivity": "^4.0.1" } }, "@wordpress/interface": { @@ -38811,17 +38811,17 @@ } }, "@wordpress/patterns": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@wordpress/patterns/-/patterns-1.11.1.tgz", - "integrity": "sha512-fC05YOVXcCJA5iAqxgkoMuDR01TcOCgIBYuQdoLgmYMowaV060CHf4qRh79J7979ed/WHjg2UQR6sA5eJx+Z+Q==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/@wordpress/patterns/-/patterns-1.11.2.tgz", + "integrity": "sha512-cN7xjw5pfKq73mVF0q0ebZh4DmAab5SlQ9CvM7PtB03JOl3GMwVIDV5Tnbbhfi1KIsFwep2/CGft3xwuJlS3FQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.50.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/html-entities": "^3.50.0", @@ -38930,15 +38930,15 @@ } }, "@wordpress/reusable-blocks": { - "version": "4.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-4.27.1.tgz", - "integrity": "sha512-Q+mzjIZqoSLwFihpQzn4kApxj3/Rp+vLDPc2cUm41+L6belpSqXxvxrcB5gr/wjStTQKCLzZRptgvt/fG90OdQ==", + "version": "4.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-4.27.2.tgz", + "integrity": "sha512-kkhZyYFj4rbf7lPOqDMfaNO3fqLEyHYKjWITWzRMUPtLeIHin/DHepVz6Z6NERANHpbP0mD4BDoBEGYJ9/brbA==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/i18n": "^4.50.0", @@ -39471,17 +39471,17 @@ "integrity": "sha512-y7Zf48roDfiPgbRAWGXDwN3C8sfbEdneGq+HvXCW6rIeGYnDLdEkpX9i7RfultkFFPVeSP3FpMKVMkto2nbqzA==" }, "@wordpress/widgets": { - "version": "3.27.1", - "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-3.27.1.tgz", - "integrity": "sha512-KrN24nN4B5nNnzV572yeEQnvqf2p3rKBjA9mTSK7Ei5nY1yvuFQn/LxiihbqqSJikliEMkh/cZ152JvIx5j6JA==", + "version": "3.27.2", + "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-3.27.2.tgz", + "integrity": "sha512-z/OsrXbBY8PanemOHdtup1OlfdBmbc6dMfXqZ3pelH75z4n73JtPhVEqM/FJFdwP737fV1gU1nvMB17VtnyXKw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^6.47.0", - "@wordpress/block-editor": "^12.18.1", + "@wordpress/block-editor": "^12.18.2", "@wordpress/blocks": "^12.27.1", "@wordpress/components": "^25.16.0", "@wordpress/compose": "^6.27.0", - "@wordpress/core-data": "^6.27.1", + "@wordpress/core-data": "^6.27.2", "@wordpress/data": "^9.20.0", "@wordpress/element": "^5.27.0", "@wordpress/i18n": "^4.50.0", diff --git a/package.json b/package.json index 9e5e13653e8a1..de72ea186a656 100644 --- a/package.json +++ b/package.json @@ -85,37 +85,37 @@ "@wordpress/api-fetch": "6.47.0", "@wordpress/autop": "3.50.0", "@wordpress/blob": "3.50.0", - "@wordpress/block-directory": "4.27.1", - "@wordpress/block-editor": "12.18.1", - "@wordpress/block-library": "8.27.1", + "@wordpress/block-directory": "4.27.2", + "@wordpress/block-editor": "12.18.2", + "@wordpress/block-library": "8.27.2", "@wordpress/block-serialization-default-parser": "4.50.0", "@wordpress/blocks": "12.27.1", "@wordpress/commands": "0.21.0", "@wordpress/components": "25.16.0", "@wordpress/compose": "6.27.0", - "@wordpress/core-commands": "0.19.1", - "@wordpress/core-data": "6.27.1", - "@wordpress/customize-widgets": "4.27.1", + "@wordpress/core-commands": "0.19.2", + "@wordpress/core-data": "6.27.2", + "@wordpress/customize-widgets": "4.27.2", "@wordpress/data": "9.20.0", "@wordpress/data-controls": "3.19.0", - "@wordpress/dataviews": "0.4.0", + "@wordpress/dataviews": "0.4.1", "@wordpress/date": "4.50.0", "@wordpress/deprecated": "3.50.0", "@wordpress/dom": "3.50.0", "@wordpress/dom-ready": "3.50.0", - "@wordpress/edit-post": "7.27.1", - "@wordpress/edit-site": "5.27.1", - "@wordpress/edit-widgets": "5.27.1", - "@wordpress/editor": "13.27.1", + "@wordpress/edit-post": "7.27.2", + "@wordpress/edit-site": "5.27.2", + "@wordpress/edit-widgets": "5.27.2", + "@wordpress/editor": "13.27.2", "@wordpress/element": "5.27.0", "@wordpress/escape-html": "2.50.0", - "@wordpress/format-library": "4.27.1", + "@wordpress/format-library": "4.27.2", "@wordpress/hooks": "3.50.0", "@wordpress/html-entities": "3.50.0", "@wordpress/i18n": "4.50.0", "@wordpress/icons": "9.41.0", - "@wordpress/interactivity": "4.0.0", - "@wordpress/interactivity-router": "1.0.0", + "@wordpress/interactivity": "4.0.1", + "@wordpress/interactivity-router": "1.0.1", "@wordpress/interface": "5.27.0", "@wordpress/is-shallow-equal": "4.50.0", "@wordpress/keyboard-shortcuts": "4.27.0", @@ -124,7 +124,7 @@ "@wordpress/media-utils": "4.41.0", "@wordpress/notices": "4.18.0", "@wordpress/nux": "8.12.0", - "@wordpress/patterns": "1.11.1", + "@wordpress/patterns": "1.11.2", "@wordpress/plugins": "6.18.0", "@wordpress/preferences": "3.27.0", "@wordpress/preferences-persistence": "1.42.0", @@ -132,7 +132,7 @@ "@wordpress/priority-queue": "2.50.0", "@wordpress/private-apis": "0.32.0", "@wordpress/redux-routine": "4.50.0", - "@wordpress/reusable-blocks": "4.27.1", + "@wordpress/reusable-blocks": "4.27.2", "@wordpress/rich-text": "6.27.0", "@wordpress/router": "0.19.0", "@wordpress/server-side-render": "4.27.1", @@ -144,7 +144,7 @@ "@wordpress/url": "3.51.0", "@wordpress/viewport": "5.27.0", "@wordpress/warning": "2.50.0", - "@wordpress/widgets": "3.27.1", + "@wordpress/widgets": "3.27.2", "@wordpress/wordcount": "3.50.0", "backbone": "1.5.0", "clipboard": "2.0.11", diff --git a/src/wp-includes/assets/script-loader-packages.min.php b/src/wp-includes/assets/script-loader-packages.min.php index bbbbec8b98656..2b05108405693 100644 --- a/src/wp-includes/assets/script-loader-packages.min.php +++ b/src/wp-includes/assets/script-loader-packages.min.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'd90eebea464f6c09bfd5'), 'annotations.min.js' => array('dependencies' => array('wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'ffc4fc3374b0ab000805'), 'api-fetch.min.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '4c185334c5ec26e149cc'), 'autop.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9fb50649848277dd318d'), 'blob.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9113eed771d446f4a556'), 'block-directory.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '9159053f41b8ec09d91b'), 'block-editor.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-style-engine', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '69980a3264510fc18d69'), 'block-library.min.js' => array('dependencies' => array('react', 'wp-a11y', '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-dom', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-patterns', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '54f97f4073fca70c8eef'), 'block-serialization-default-parser.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '14d44daebf663d05d330'), 'blocks.min.js' => array('dependencies' => array('react', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-private-apis', 'wp-rich-text', 'wp-shortcode'), 'version' => '64a9ab28b62423f79e07'), 'commands.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-polyfill', 'wp-primitives', 'wp-private-apis'), 'version' => '0674417708cae5031b37'), 'components.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-warning'), 'version' => '629594950877ccba0f43'), 'compose.min.js' => array('dependencies' => array('react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1f65d1d8719bc97357e7'), 'core-commands.min.js' => array('dependencies' => array('react', 'wp-commands', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-router', 'wp-url'), 'version' => 'dbbc54588f73c5b23fa3'), 'core-data.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-private-apis', 'wp-rich-text', 'wp-url'), 'version' => 'dba2ea4cdd526475d52a'), 'customize-widgets.min.js' => array('dependencies' => array('react', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-widgets'), 'version' => 'a44197f146efda4b8ad1'), 'data.min.js' => array('dependencies' => array('react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-private-apis', 'wp-redux-routine'), 'version' => '70790e390a9624c9cef4'), 'data-controls.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '49f5587e8b90f9e7cc7e'), 'date.min.js' => array('dependencies' => array('moment', 'wp-deprecated', 'wp-polyfill'), 'version' => 'ddd596bc6f2a45364bf2'), 'deprecated.min.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'e1f84915c5e8ae38964c'), 'dom.min.js' => array('dependencies' => array('wp-deprecated', 'wp-polyfill'), 'version' => '4ecffbffba91b10c5c7a'), 'dom-ready.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f77871ff7694fffea381'), 'edit-post.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-commands', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-url', 'wp-viewport', 'wp-warning', 'wp-widgets'), 'version' => '853f8e34ea880df35bdd'), 'edit-site.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-commands', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-reusable-blocks', 'wp-router', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '5a5096049a263de38add'), 'edit-widgets.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '863e8bac0af20fba6e4a'), 'editor.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '6a00a5b42735b6a1b507'), 'element.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '603185df201aa54181a6'), 'escape-html.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6561a406d2d232a6fbd2'), 'format-library.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-url'), 'version' => 'f2c401cc63ed8a35897d'), 'hooks.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2810c76e705dd1a53b18'), 'html-entities.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2cd3358363e0675638fb'), 'i18n.min.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'aee497d955fe7a29a7d6'), 'interactivity-router.min.js' => array('dependencies' => array('wp-interactivity', 'wp-polyfill'), 'version' => '184493be110bb3cd656c'), 'is-shallow-equal.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e0f9f1d78d83f5196979'), 'keyboard-shortcuts.min.js' => array('dependencies' => array('react', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '4d239ebc17efd846a168'), 'keycodes.min.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill'), 'version' => '034ff647a54b018581d3'), 'list-reusable-blocks.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-blob', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b9d73b532124daefd2c7'), 'media-utils.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '03fbd6c4f505a9385efe'), 'notices.min.js' => array('dependencies' => array('wp-data', 'wp-polyfill'), 'version' => '673a68a7ac2f556ed50b'), 'nux.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '46c93a71c3e2c2bf37f0'), 'patterns.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '181de8f9e2b40fca351b'), 'plugins.min.js' => array('dependencies' => array('react', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives'), 'version' => '2d369cbfdcb887111e06'), 'preferences.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-private-apis'), 'version' => '3f5baaf6d334123043d3'), 'preferences-persistence.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '3f5184d775ed9dfb154f'), 'primitives.min.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '81082ab8cc08e6b73043'), 'priority-queue.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '391948bb0355121a7f52'), 'private-apis.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5e7fdf55d04b8c2aadef'), 'redux-routine.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72ec9ed71190c996fe2e'), 'reusable-blocks.min.js' => array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '008366ba172a4f4b92b4'), 'rich-text.min.js' => array('dependencies' => array('wp-a11y', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '88a44b54270a7c0b39eb'), 'router.min.js' => array('dependencies' => array('react', 'wp-element', 'wp-polyfill', 'wp-private-apis', 'wp-url'), 'version' => '92fd517f31b92695552a'), 'server-side-render.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '8e53ef39c9065ebf9e46'), 'shortcode.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b7747eee0efafd2f0c3b'), 'style-engine.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5bd98acb9813a2d90abf'), 'token-list.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '05f8a6df6258f0081718'), 'undo-manager.min.js' => array('dependencies' => array('wp-is-shallow-equal', 'wp-polyfill'), 'version' => 'f1701372eeeb8b605515'), 'url.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f93d00b28dd08ca5a662'), 'viewport.min.js' => array('dependencies' => array('react', 'wp-compose', 'wp-data', 'wp-polyfill'), 'version' => 'e555fda1d93ecf1fb1e0'), 'warning.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ed7c8b0940914f4fe44b'), 'widgets.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => 'c732b69b0507c9a5462b'), 'wordcount.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '55d8c2bf3dc99e7ea5ec')); + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'd90eebea464f6c09bfd5'), 'annotations.min.js' => array('dependencies' => array('wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'ffc4fc3374b0ab000805'), 'api-fetch.min.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '4c185334c5ec26e149cc'), 'autop.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9fb50649848277dd318d'), 'blob.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '9113eed771d446f4a556'), 'block-directory.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '9159053f41b8ec09d91b'), 'block-editor.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-style-engine', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'a982b7f1ddc404c9763b'), 'block-library.min.js' => array('dependencies' => array('react', 'wp-a11y', '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-dom', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-patterns', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '8a0c07fbc60b644cf03e'), 'block-serialization-default-parser.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '14d44daebf663d05d330'), 'blocks.min.js' => array('dependencies' => array('react', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-private-apis', 'wp-rich-text', 'wp-shortcode'), 'version' => '64a9ab28b62423f79e07'), 'commands.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-polyfill', 'wp-primitives', 'wp-private-apis'), 'version' => '0674417708cae5031b37'), 'components.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-warning'), 'version' => '629594950877ccba0f43'), 'compose.min.js' => array('dependencies' => array('react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1f65d1d8719bc97357e7'), 'core-commands.min.js' => array('dependencies' => array('react', 'wp-commands', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-router', 'wp-url'), 'version' => 'dbbc54588f73c5b23fa3'), 'core-data.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-private-apis', 'wp-rich-text', 'wp-url'), 'version' => 'dba2ea4cdd526475d52a'), 'customize-widgets.min.js' => array('dependencies' => array('react', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-widgets'), 'version' => 'a44197f146efda4b8ad1'), 'data.min.js' => array('dependencies' => array('react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-private-apis', 'wp-redux-routine'), 'version' => '70790e390a9624c9cef4'), 'data-controls.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '49f5587e8b90f9e7cc7e'), 'date.min.js' => array('dependencies' => array('moment', 'wp-deprecated', 'wp-polyfill'), 'version' => 'ddd596bc6f2a45364bf2'), 'deprecated.min.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'e1f84915c5e8ae38964c'), 'dom.min.js' => array('dependencies' => array('wp-deprecated', 'wp-polyfill'), 'version' => '4ecffbffba91b10c5c7a'), 'dom-ready.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f77871ff7694fffea381'), 'edit-post.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-commands', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-url', 'wp-viewport', 'wp-warning', 'wp-widgets'), 'version' => 'e4fe739cfb5191e88233'), 'edit-site.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-commands', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-reusable-blocks', 'wp-router', 'wp-url', 'wp-viewport', 'wp-widgets', 'wp-wordcount'), 'version' => '3bf825ca8a8349b15d7d'), 'edit-widgets.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '863e8bac0af20fba6e4a'), 'editor.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-patterns', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '817d3c3d465ea165610a'), 'element.min.js' => array('dependencies' => array('react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '603185df201aa54181a6'), 'escape-html.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6561a406d2d232a6fbd2'), 'format-library.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-rich-text', 'wp-url'), 'version' => 'f2c401cc63ed8a35897d'), 'hooks.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2810c76e705dd1a53b18'), 'html-entities.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2cd3358363e0675638fb'), 'i18n.min.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'aee497d955fe7a29a7d6'), 'is-shallow-equal.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e0f9f1d78d83f5196979'), 'keyboard-shortcuts.min.js' => array('dependencies' => array('react', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '4d239ebc17efd846a168'), 'keycodes.min.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill'), 'version' => '034ff647a54b018581d3'), 'list-reusable-blocks.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-blob', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b9d73b532124daefd2c7'), 'media-utils.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '03fbd6c4f505a9385efe'), 'notices.min.js' => array('dependencies' => array('wp-data', 'wp-polyfill'), 'version' => '673a68a7ac2f556ed50b'), 'nux.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '46c93a71c3e2c2bf37f0'), 'patterns.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => 'c81cbc7df425eaca0182'), 'plugins.min.js' => array('dependencies' => array('react', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives'), 'version' => '2d369cbfdcb887111e06'), 'preferences.min.js' => array('dependencies' => array('react', 'wp-a11y', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-private-apis'), 'version' => '3f5baaf6d334123043d3'), 'preferences-persistence.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '3f5184d775ed9dfb154f'), 'primitives.min.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '81082ab8cc08e6b73043'), 'priority-queue.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '391948bb0355121a7f52'), 'private-apis.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5e7fdf55d04b8c2aadef'), 'redux-routine.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72ec9ed71190c996fe2e'), 'reusable-blocks.min.js' => array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-private-apis', 'wp-url'), 'version' => '008366ba172a4f4b92b4'), 'rich-text.min.js' => array('dependencies' => array('wp-a11y', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '88a44b54270a7c0b39eb'), 'router.min.js' => array('dependencies' => array('react', 'wp-element', 'wp-polyfill', 'wp-private-apis', 'wp-url'), 'version' => '92fd517f31b92695552a'), 'server-side-render.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '8e53ef39c9065ebf9e46'), 'shortcode.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b7747eee0efafd2f0c3b'), 'style-engine.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5bd98acb9813a2d90abf'), 'token-list.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '05f8a6df6258f0081718'), 'undo-manager.min.js' => array('dependencies' => array('wp-is-shallow-equal', 'wp-polyfill'), 'version' => 'f1701372eeeb8b605515'), 'url.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f93d00b28dd08ca5a662'), 'viewport.min.js' => array('dependencies' => array('react', 'wp-compose', 'wp-data', 'wp-polyfill'), 'version' => 'e555fda1d93ecf1fb1e0'), 'warning.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ed7c8b0940914f4fe44b'), 'widgets.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => 'c732b69b0507c9a5462b'), 'wordcount.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '55d8c2bf3dc99e7ea5ec')); diff --git a/src/wp-includes/blocks/group/block.json b/src/wp-includes/blocks/group/block.json index 674b0645f5021..df59c25a7751f 100644 --- a/src/wp-includes/blocks/group/block.json +++ b/src/wp-includes/blocks/group/block.json @@ -55,7 +55,6 @@ } }, "dimensions": { - "aspectRatio": true, "minHeight": true }, "__experimentalBorder": { diff --git a/src/wp-includes/blocks/navigation.php b/src/wp-includes/blocks/navigation.php index a0672a0bed580..40ae2f045d7bf 100644 --- a/src/wp-includes/blocks/navigation.php +++ b/src/wp-includes/blocks/navigation.php @@ -192,7 +192,7 @@ private static function get_inner_blocks_from_navigation_post( $attributes ) { // it encounters whitespace. This code strips it. $blocks = block_core_navigation_filter_out_empty_blocks( $parsed_blocks ); - if ( function_exists( 'get_hooked_blocks' ) ) { + if ( function_exists( 'get_hooked_block_markup' ) ) { // Run Block Hooks algorithm to inject hooked blocks. $markup = block_core_navigation_insert_hooked_blocks( $blocks, $navigation_post ); $root_nav_block = parse_blocks( $markup )[0]; @@ -992,7 +992,7 @@ function block_core_navigation_get_fallback_blocks() { // In this case default to the (Page List) fallback. $fallback_blocks = ! empty( $maybe_fallback ) ? $maybe_fallback : $fallback_blocks; - if ( function_exists( 'get_hooked_blocks' ) ) { + if ( function_exists( 'get_hooked_block_markup' ) ) { // Run Block Hooks algorithm to inject hooked blocks. // We have to run it here because we need the post ID of the Navigation block to track ignored hooked blocks. $markup = block_core_navigation_insert_hooked_blocks( $fallback_blocks, $navigation_post ); @@ -1358,7 +1358,7 @@ function block_core_navigation_get_most_recently_published_navigation() { * @param WP_Post $post `wp_navigation` post object corresponding to the block. * @return string Serialized inner blocks in mock Navigation block wrapper, with hooked blocks inserted, if any. */ -function block_core_navigation_insert_hooked_blocks( $inner_blocks, $post = null ) { +function block_core_navigation_insert_hooked_blocks( $inner_blocks, $post ) { $before_block_visitor = null; $after_block_visitor = null; $hooked_blocks = get_hooked_blocks(); @@ -1397,10 +1397,6 @@ function block_core_navigation_insert_hooked_blocks( $inner_blocks, $post = null * @param WP_Post $post Post object. */ function block_core_navigation_update_ignore_hooked_blocks_meta( $post ) { - if ( ! isset( $post->ID ) ) { - return; - } - // We run the Block Hooks mechanism so it will return the list of ignored hooked blocks // in the mock root Navigation block's metadata attribute. // We ignore the rest of the returned `$markup`; `$post->post_content` already has the hooked @@ -1422,9 +1418,9 @@ function block_core_navigation_update_ignore_hooked_blocks_meta( $post ) { } } -// Injection of hooked blocks into the Navigation block relies on some functions present in WP >= 6.4 -// that are not present in Gutenberg's WP 6.4 compatibility layer. -if ( function_exists( 'get_hooked_blocks' ) ) { +// Injection of hooked blocks into the Navigation block relies on some functions present in WP >= 6.5 +// that are not present in Gutenberg's WP 6.5 compatibility layer. +if ( function_exists( 'get_hooked_block_markup' ) ) { add_action( 'rest_insert_wp_navigation', 'block_core_navigation_update_ignore_hooked_blocks_meta', 10, 3 ); } @@ -1454,8 +1450,8 @@ function block_core_navigation_insert_hooked_blocks_into_rest_response( $respons return $response; } -// Injection of hooked blocks into the Navigation block relies on some functions present in WP >= 6.4 -// that are not present in Gutenberg's WP 6.4 compatibility layer. -if ( function_exists( 'get_hooked_blocks' ) ) { +// Injection of hooked blocks into the Navigation block relies on some functions present in WP >= 6.5 +// that are not present in Gutenberg's WP 6.5 compatibility layer. +if ( function_exists( 'get_hooked_block_markup' ) ) { add_filter( 'rest_prepare_wp_navigation', 'block_core_navigation_insert_hooked_blocks_into_rest_response', 10, 3 ); } diff --git a/src/wp-includes/blocks/pattern.php b/src/wp-includes/blocks/pattern.php index 70c389e4ec8db..9a4d4c01b5bcd 100644 --- a/src/wp-includes/blocks/pattern.php +++ b/src/wp-includes/blocks/pattern.php @@ -22,6 +22,8 @@ function register_block_core_pattern() { * * @since 6.3.0 Backwards compatibility: blocks with no `syncStatus` attribute do not receive block wrapper. * + * @global WP_Embed $wp_embed Used to process embedded content within patterns + * * @param array $attributes Block attributes. * * @return string Returns the output of the pattern. diff --git a/src/wp-includes/blocks/post-navigation-link.php b/src/wp-includes/blocks/post-navigation-link.php index 50106bdd7cce5..108751bf63203 100644 --- a/src/wp-includes/blocks/post-navigation-link.php +++ b/src/wp-includes/blocks/post-navigation-link.php @@ -102,12 +102,12 @@ function render_block_core_post_navigation_link( $attributes, $content ) { $in_same_term = isset( $attributes['inSameTerm'] ) ? $attributes['inSameTerm'] : false; $taxonomy = isset( $attributes['taxonomy'] ) && $in_same_term ? $attributes['taxonomy'] : ''; - /** + /* * The dynamic portion of the function name, `$navigation_type`, * Refers to the type of adjacency, 'next' or 'previous'. * - * @See https://developer.wordpress.org/reference/functions/get_previous_post_link/ - * @See https://developer.wordpress.org/reference/functions/get_next_post_link/ + * @see https://developer.wordpress.org/reference/functions/get_previous_post_link/ + * @see https://developer.wordpress.org/reference/functions/get_next_post_link/ */ $get_link_function = "get_{$navigation_type}_post_link"; diff --git a/src/wp-includes/interactivity-api.php b/src/wp-includes/interactivity-api.php new file mode 100644 index 0000000000000..43bba72bf5a14 --- /dev/null +++ b/src/wp-includes/interactivity-api.php @@ -0,0 +1,26 @@ + Date: Wed, 31 Jan 2024 11:07:24 +0100 Subject: [PATCH 2/4] build blocks json cache --- src/wp-includes/blocks/blocks-json.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/blocks/blocks-json.php b/src/wp-includes/blocks/blocks-json.php index 0da1bb0e5b22d..99eb57a0eddf0 100644 --- a/src/wp-includes/blocks/blocks-json.php +++ b/src/wp-includes/blocks/blocks-json.php @@ -2073,7 +2073,6 @@ ) ), 'dimensions' => array( - 'aspectRatio' => true, 'minHeight' => true ), '__experimentalBorder' => array( From 512f576fd764f02a9230ecc016f2c024e1f7a448 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Wed, 31 Jan 2024 11:18:37 +0100 Subject: [PATCH 3/4] Simplify the blocks webpack config --- tools/webpack/blocks.js | 70 +++++++++++------------------------------ 1 file changed, 19 insertions(+), 51 deletions(-) diff --git a/tools/webpack/blocks.js b/tools/webpack/blocks.js index eace0e0a201eb..f1c9d20cd8504 100644 --- a/tools/webpack/blocks.js +++ b/tools/webpack/blocks.js @@ -91,33 +91,28 @@ module.exports = function ( noErrorOnMissing: true, } ) ); + // Todo: This list need of entry points need to be automatically fetched from the package + // We shouldn't have to maintain it manually. + const interactiveBlocks = [ + 'navigation', + 'image', + 'query', + 'file', + 'search', + ]; + const baseConfig = getBaseConfig( env ); const config = { ...baseConfig, - // Todo: This list need of entry points need to be automatically fetched from the package - // We shouldn't have to maintain it manually. - entry: { - navigation: normalizeJoin( - baseDir, - 'node_modules/@wordpress/block-library/build-module/navigation/view' - ), - image: normalizeJoin( - baseDir, - 'node_modules/@wordpress/block-library/build-module/image/view' - ), - query: normalizeJoin( - baseDir, - 'node_modules/@wordpress/block-library/build-module/query/view' - ), - file: normalizeJoin( - baseDir, - 'node_modules/@wordpress/block-library/build-module/file/view' - ), - search: normalizeJoin( - baseDir, - 'node_modules/@wordpress/block-library/build-module/search/view' - ), - }, + entry: interactiveBlocks.reduce(( memo, blockName ) => { + memo[ blockName ] = { + import: normalizeJoin( + baseDir, + `node_modules/@wordpress/block-library/build-module/${ blockName }/view` + ), + }; + return memo; + }, {}), experiments: { outputModule: true, }, @@ -135,33 +130,6 @@ module.exports = function ( '@wordpress/interactivity': '@wordpress/interactivity', '@wordpress/interactivity-router': 'import @wordpress/interactivity-router', }, - module: { - rules: [ - { - test: /\.(j|t)sx?$/, - use: [ - { - loader: require.resolve( 'babel-loader' ), - options: { - cacheDirectory: - process.env.BABEL_CACHE_DIRECTORY || true, - babelrc: false, - configFile: false, - presets: [ - [ - '@babel/preset-react', - { - runtime: 'automatic', - importSource: 'preact', - }, - ], - ], - }, - }, - ], - }, - ], - }, plugins: [ ...baseConfig.plugins, new CopyWebpackPlugin( { From 86a919f697e0863326e68cb749ece3fad4c1984e Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Wed, 31 Jan 2024 11:22:43 +0100 Subject: [PATCH 4/4] Remove trailing comma --- src/wp-includes/interactivity-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/interactivity-api.php b/src/wp-includes/interactivity-api.php index 43bba72bf5a14..de9e877c9a761 100644 --- a/src/wp-includes/interactivity-api.php +++ b/src/wp-includes/interactivity-api.php @@ -19,7 +19,7 @@ function wp_interactivity_register_script_modules() { wp_register_script_module( '@wordpress/interactivity-router', includes_url( '/js/dist/interactivity-router.min.js' ), - array( '@wordpress/interactivity' ), + array( '@wordpress/interactivity' ) ); }