Skip to content

Commit bd94ac2

Browse files
desrosjKhushalSainS
authored andcommitted
General: Bump the pinned hash for Gutenberg to v23.2.0.
This updates the pinned commit hash of the Gutenberg repository from `585cf86bb6f408b1dc61175f75db016aa4760653 ` (version `23.1.0`) to `d5ac60e6118060529737127d44a6fdc8abf57eb9` (version `23.2.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.1.0..v23.2.0. The following commits are included: - Fix PHP multisite tests (WordPress/gutenberg#77825) - Revise README for FocalPointPicker component to use object-position (WordPress/gutenberg#77722) - Experiment: Add first e2e tests for Taxonomies (WordPress/gutenberg#77828) - Content Types: Add post type management (WordPress/gutenberg#77754) - Grid: lock document cursor during resize gesture (WordPress/gutenberg#77813) - Build: Add experimental `widgets/` folder support to @wordpress/build (WordPress/gutenberg#77347) - TabPanel: Fix tab indicator animation (WordPress/gutenberg#77812) - Disable TinyMCE: Repurpose experiment as Classic block removal (WordPress/gutenberg#77838) - Cover block: Inline z-index values (WordPress/gutenberg#77753) - Button: Align link variant underline with Link and ExternalLink (WordPress/gutenberg#77842) - ui/Drawer: Polish open/close animation, fix swipe on content padding (WordPress/gutenberg#77800) - Site Editor: Remove local z-index helper entries (WordPress/gutenberg#77808) - Inline sticky search z-index values (WordPress/gutenberg#77806) - Block Manager: Inline z-index values (WordPress/gutenberg#77759) - Update TypeScript to tsgo (try 2) (WordPress/gutenberg#77682) - Editor: Inline pattern chooser z-index values (WordPress/gutenberg#77772) - Media editor modal: disable scroll wheel zoom while a crop is active (WordPress/gutenberg#77826) - Media editor modal: disable scroll wheel zoom while a pan/drag is active (WordPress/gutenberg#77863) - Media Editor Modal: Try adding undo/redo for the image cropper (WordPress/gutenberg#77782) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Media Upload Modal: Fix pagination and search (WordPress/gutenberg#77872) - `defaultRenderingMode` value not respected when changed using `block_editor_settings_all` (WordPress/gutenberg#77870) - Media editor modal: expand keyboard shortcuts and add interaction helpers (WordPress/gutenberg#77871) - Media editor modal: name landmark regions and add panel headings (WordPress/gutenberg#77875) - Media Editor Modal: Use shift modifier to adjust keyboard pan speed (WordPress/gutenberg#77878) - Disable Classic block: Always register, hide from inserter conditionally (WordPress/gutenberg#77840) - ESLint: Replace `eslint-plugin-react-compiler` with `eslint-plugin-react-hooks` (WordPress/gutenberg#69962) - Disable Classic block: Control inserter support via filter (WordPress/gutenberg#77845) - Grid: add `renderResizeHandle` render prop (WordPress/gutenberg#77811) - Grid: render resize handle as component (WordPress/gutenberg#77888) - Update uuid dependency (WordPress/gutenberg#77848) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Media editor modal: add Shift+R for counter-clockwise rotation (WordPress/gutenberg#77898) - Update references to default branch. (WordPress/gutenberg#77606) - Notes: Keep tall floating threads scrollable on short content (WordPress/gutenberg#77821) - Taxonomy edit route: declare @wordpress/base-styles as dependency (WordPress/gutenberg#77901) - Post Types DataViews: Make titles clickable to open edit page (WordPress/gutenberg#77885) - Upgrade and unify @types/node version (WordPress/gutenberg#77900) - Widget Types: replace bootstrap with resolver (WordPress/gutenberg#77847) - SlotFill: add dependencies to updateFill effect (WordPress/gutenberg#77907) - Grid: prevent resize runaway near viewport edge (WordPress/gutenberg#77854) - Experiment: Add taxonomy visibility fields (WordPress/gutenberg#77835) - Content Types: Add Duplicate action to taxonomy management (WordPress/gutenberg#77853) - Site Editor: Inline layout z-index values (WordPress/gutenberg#77807) - RTC: Clarify WPBlockSelection type and link to duplicates in other packages. (WordPress/gutenberg#77862) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Media Editor Modal: In the image cropper, pan when dragging the crop instead of constraining to the visible area (WordPress/gutenberg#77899) - Block Editor: Clarify logic for 'directInsert' inner blocks setting (WordPress/gutenberg#77873) - Block Editor: Fix target block for copying direct insert block attributes (WordPress/gutenberg#77877) - Link: Fix awkward focus outline around the new-tab icon (WordPress/gutenberg#77910) - Plugin loader: use require for build/constants.php (WordPress/gutenberg#77908) - Tests: Fix argument forwarding for test:unit workspace scripts (WordPress/gutenberg#77541) - Try responsive global block styles with states (WordPress/gutenberg#77513) - Image editor: suppress image editor undo/redo while a crop interaction is active (WordPress/gutenberg#77930) - Experimental: Content types - disable create/save button based on form validity (WordPress/gutenberg#77931) - Guidelines: Refactor accordion to use CollapsibleCard (WordPress/gutenberg#77903) - Guidelines REST: Require read access for standard route (WordPress/gutenberg#77843) - Embed: Add '[embed]' shortcode transform (WordPress/gutenberg#77937) - Edit Post: Fix suppressed errors in Layout component (WordPress/gutenberg#77940) - Experiment: User post types REST controller (WordPress/gutenberg#77915) - Content Types: Add Duplicate action to post type management (WordPress/gutenberg#77844) - Experiment: Content types fix new instance returned in `useSelect` (WordPress/gutenberg#77916) - Select: Hide user agent focus ring in popup (WordPress/gutenberg#77919) - Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797) - UI: Use string label type for form controls (WordPress/gutenberg#77860) - Widget Types: bootstrap registry into the dashboard client (WordPress/gutenberg#77917) - ui/Drawer: Forward `render` prop on `Drawer.Content` to the scroll container (WordPress/gutenberg#77941) - ColorPicker : Fix inconsistent HEX input clearing behavior (WordPress/gutenberg#77912) - ExternalLink: Fix focus outline under wp-admin (WordPress/gutenberg#77935) - Experiment: Auto fill `slug` from singular label for taxonomies and post types (WordPress/gutenberg#77938) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - Classic Block: Unwrap experiment to hide it from inserter (WordPress/gutenberg#77911) - Migrate native tests to workspace (WordPress/gutenberg#77425) - Remove root uuid dependency (WordPress/gutenberg#77960) - Build: Update lint-staged to 16.4.0 (WordPress/gutenberg#77963) - docgen: Automatic documentation handle for TypeScript overloads (WordPress/gutenberg#77558) - Dashboard: Add experimental `WidgetDashboard` rendering engine (WordPress/gutenberg#77770) - Fix flaky Menu test (WordPress/gutenberg#77972) - Widget Types: server-side registry, decouple wp-build pages (WordPress/gutenberg#77958) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - Media editor: replace fine-rotation slider with RotationRuler (WordPress/gutenberg#77906) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - RTC: Attach sync observers after hydrating persisted CRDT doc (WordPress/gutenberg#77966) - Fix: Buttons block shows inserter picker when multiple allowed blocks are registered (WordPress/gutenberg#77858) - Update nvm installation script to version 0.40.4 (WordPress/gutenberg#77996) - Use theme gray for muted Text (WordPress/gutenberg#77999) - Add lint rule for non-module stylesheet imports (WordPress/gutenberg#77984) - Dashboard experiment: new icon (WordPress/gutenberg#78016) - Testing: Add `createRecord` e2e request util (WordPress/gutenberg#78017) - Widget Types: REST endpoint and core-data entity (WordPress/gutenberg#77987) - Block Editor: Remove unused reducer action types (WordPress/gutenberg#77880) - Experiment: Sync user taxonomies with post types (WordPress/gutenberg#77997) - Dashboard experiment: remove storybook examples for now (WordPress/gutenberg#78020) - Dashboard: add `WidgetDashboard.Actions` compound (WordPress/gutenberg#78019) - Experiment: add first basic user post types e2e tests and update taxonomy tests (WordPress/gutenberg#77998) - Fill in E2E tests for client-side media processing (WordPress/gutenberg#75949) - Modal: Render as a bottom sheet on mobile (WordPress/gutenberg#77956) - Grid: add warning about being under development (WordPress/gutenberg#78022) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Image editor: update sidebar aspect ratio and resize controls (WordPress/gutenberg#78046) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - Site Editor e2e tests: reimplement the wait for load (WordPress/gutenberg#77981) - Make Block Inserter search input sticky while scrolling (WordPress/gutenberg#77698) - Embed: Tighten raw URL transform isMatch (WordPress/gutenberg#78021) - Notes: Separate intent from mechanics in openTheSidebar (WordPress/gutenberg#78039) - Image editor: improve media editor crop accessibility and dialog focus (WordPress/gutenberg#78047) - Fix flaky e2e test for Pages dataview keyboard navigation (WordPress/gutenberg#78054) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - Dashboard: persist layout via @wordpress/preferences (WordPress/gutenberg#78034) - Dashboard: backend default layout filter (WordPress/gutenberg#78040) - i18n: add context to scale (WordPress/gutenberg#76917) - Dashboard: lift Suspense + error boundary into widget chrome and add a default header (WordPress/gutenberg#78012) - Dashboard: add widget inserter modal (WordPress/gutenberg#78033) - Fix flaky homepage-settings e2e test (WordPress/gutenberg#78063) - Experiment: Content types single route and package (WordPress/gutenberg#78059) - Configure global fallbackFn for timezone-mock to handle Date subclasses (WordPress/gutenberg#78056) - Content types: flush rewrite rules on rewrite-impacting changes (WordPress/gutenberg#78058) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) - Add RTC cursor-scope regression tests (WordPress/gutenberg#77662) - Dashboard: REST endpoint for the default layout (WordPress/gutenberg#78066) - Paste: preserve leading number when pasting single-line text like dates (WordPress/gutenberg#77949) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Global Styles: Refactor client side style states to use nodes (WordPress/gutenberg#78000) - Media Editor Modal: Add focus border styles to the stencil rect when the canvas is keyboard focused (WordPress/gutenberg#78078) - Post Content focus mode: Fix flaky e2e test (WordPress/gutenberg#78084) - Update date-fns to v4.1.0 in components and editor packages (WordPress/gutenberg#78057) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Admin UI: Fix nested landmark in Page header (WordPress/gutenberg#78001) - Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511) - Fix flaky 'publish panel' e2e test (WordPress/gutenberg#78082) - Experiment: Content types reuse some commone utils (WordPress/gutenberg#78091) - Style Runtime: Support CSS module style injection across documents (WordPress/gutenberg#77965) - Experiment: Add Classic block migration notice (WordPress/gutenberg#78090) - Content Types: Abstract and reuse label autofilling for post types (WordPress/gutenberg#78099) - i18n: add context to table header/footer label (WordPress/gutenberg#78007) - Experiment: Content types reuse `createStatusAction` (WordPress/gutenberg#78102) - Select: Support placeholder prop on Trigger (WordPress/gutenberg#78076) - feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521) - Add missing Portal Storybook subcomponents (WordPress/gutenberg#78108) - RTC: Fix title divergence between users on page refresh after title update (WordPress/gutenberg#77666) - Docs: shortcode transforms with wrapped content + rawHandler JSDoc (WordPress/gutenberg#78003) - Connectors: Refine PHPStan type shapes (WordPress/gutenberg#78103) - Fix lockfile drift and missing dep from content-types consolidation (WordPress/gutenberg#78109) - Classic Block: Use onReplace prop for migration actions (WordPress/gutenberg#78113) - Media Editor Experiment: Add a route, based on the media editor modal, refactor the modal components (WordPress/gutenberg#77994) - i18n: add context to (site) identity (WordPress/gutenberg#78132) - Script Modules: Guard setAccessible() calls behind PHP < 8.1 check (WordPress/gutenberg#78137) - Connectors: Avoid using centered text (WordPress/gutenberg#78125) - Content Types: Introduce view items actions (WordPress/gutenberg#78104) - Fix: Guard require_once calls in generated PHP files against deployment race conditions (WordPress/gutenberg#78110) - bin/dev.mjs: warn (not exit) on stale webpack watching this checkout (WordPress/gutenberg#78098) - E2E: Reset preferences after navigable-toolbar tests (WordPress/gutenberg#78115) - Editor: Refactor 'PostPublishPanel' into function component (WordPress/gutenberg#78083) - Document how to ignore VSCode Workplace Settings. (WordPress/gutenberg#77608) - Select: Fix disabled cursor styles (WordPress/gutenberg#78112) - Revisions: Add tooltip to diff marker buttons (WordPress/gutenberg#77690) - Experiment: Make content types `_builtin` (WordPress/gutenberg#78150) - Experiment: Content types - use `form` for quick edit dialogs (WordPress/gutenberg#78149) - Experiment: Content types use `toggle` for `active` prop edit (WordPress/gutenberg#78146) - Experiment: Update view content types actions (WordPress/gutenberg#78159) - Block Editor: Add translation context for “Exit pattern” (WordPress/gutenberg#78158) - ColorPalette: Fix duplicate-key warnings and incorrect selection with identical color values (WordPress/gutenberg#78004) - Menu: Fix flaky keyboard focus test (WordPress/gutenberg#78162) - e2e tests: use editPost and createNewPost helpers everywhere (WordPress/gutenberg#78170) - Support object values in Select primitive (WordPress/gutenberg#77861) - Text: Fix render prop CSS defenses (WordPress/gutenberg#78172) - Design System: Add missing packages to Storybook introduction (WordPress/gutenberg#77504) - Add SelectControl component to @wordpress/ui (WordPress/gutenberg#77809) - Dashboard experiment: animate customize UX (WordPress/gutenberg#78065) - Add RTC y-websocket-server tests (WordPress/gutenberg#78179) - Grid: add DashboardLanes masonry surface (WordPress/gutenberg#78107) - Dashboard: staging layer for in-progress layout edits (WordPress/gutenberg#78071) - Media: Guard gutenberg_delete_heic_companion_file() against non-string $metadata['original'] (WordPress/gutenberg#78128) - Image block: Try syncing updated metadata fields (alt and caption) from the media editor (WordPress/gutenberg#78139) - Correct capitalization in help text for Breadcrumbs block (WordPress/gutenberg#78175) - Add min release age to npm config (WordPress/gutenberg#78191) - isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78151) - Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140) - Experiment: Content types invaidate cache for synced taxonomies-post types (WordPress/gutenberg#78143) - Shortcode: Offer block-specific transforms when text matches a registered shortcode (WordPress/gutenberg#77944) - E2E: Remove slash from bad embed request mock (WordPress/gutenberg#78200) - UI: Add component status notes to Storybook (WordPress/gutenberg#77988) - ui/Tooltip, ui/IconButton: Add positioner slot API (WordPress/gutenberg#78089) - Add motion design tokens (duration and easing) to @wordpress/theme (WordPress/gutenberg#76097) - Grid: add edit-mode overlay to DashboardGrid and DashboardLanes (WordPress/gutenberg#78199) - Grid: fix keyboard activation on draggable items (WordPress/gutenberg#78163) - ui/CollapsibleCard: support rendering Header as a heading element (WordPress/gutenberg#77962) - Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671) - Popover: Remove close button z-index (WordPress/gutenberg#78180) - Button: Align compound component metadata (WordPress/gutenberg#78184) - Dashboard: use design animation tokens (WordPress/gutenberg#78204) - Tools: Remove save-exact from .npmrc (WordPress/gutenberg#78196) - UI: Improve docs for compound exports (WordPress/gutenberg#78212) - Bump addressable in /packages/react-native-editor/ios (WordPress/gutenberg#77128) - Bump follow-redirects from 1.15.6 to 1.16.0 (WordPress/gutenberg#77278) - Bump vite from 7.3.0 to 7.3.2 (WordPress/gutenberg#77076) - Bump flatted from 3.3.1 to 3.4.2 (WordPress/gutenberg#76708) - Bump @xmldom/xmldom from 0.8.10 to 0.8.13 (WordPress/gutenberg#77577) - Media Editor Modal: Fix empty author and attached to fields (WordPress/gutenberg#78189) - Bump fast-xml-parser from 4.5.0 to 4.5.4 (WordPress/gutenberg#76081) - Bump node-forge from 1.3.1 to 1.3.2 (WordPress/gutenberg#73601) - Experiment: Integrate `useView` in content types lists (WordPress/gutenberg#78197) - Experiment: Add term/post type count fields in content types (WordPress/gutenberg#78157) - Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126) - UI: Fix subcomponent story labels (WordPress/gutenberg#78210) - Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) - Experiment: Render badges for some content types' fields (WordPress/gutenberg#78194) - Testing: Consolidate CI workflows for changelog testing (WordPress/gutenberg#78169) - Edit Post: Inline meta boxes z-index values (WordPress/gutenberg#78181) - Backport package publish commits to release/23.2 (WordPress/gutenberg#78347) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65559. git-svn-id: https://develop.svn.wordpress.org/trunk@62582 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3cb9058 commit bd94ac2

20 files changed

Lines changed: 10824 additions & 522 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://develop.svn.wordpress.org/trunk"
88
},
99
"gutenberg": {
10-
"sha": "585cf86bb6f408b1dc61175f75db016aa4760653",
10+
"sha": "d5ac60e6118060529737127d44a6fdc8abf57eb9",
1111
"ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
1212
},
1313
"engines": {

src/wp-includes/assets/script-loader-packages.php

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
'wp-i18n',
1414
'wp-rich-text'
1515
),
16-
'version' => 'a97786de6f13be9c6637'
16+
'version' => 'd4fe1eeb787c2fd5ee89'
1717
),
1818
'api-fetch.js' => array(
1919
'dependencies' => array(
@@ -65,7 +65,7 @@
6565
'wp-theme',
6666
'wp-url'
6767
),
68-
'version' => '110a088de3bda59ac5de'
68+
'version' => '43a9d7ab2fbaa04615a1'
6969
),
7070
'block-editor.js' => array(
7171
'dependencies' => array(
@@ -103,7 +103,7 @@
103103
'wp-url',
104104
'wp-warning'
105105
),
106-
'version' => '9041ae4f01562bcb4d33'
106+
'version' => '5a398d1da02bf80f3f98'
107107
),
108108
'block-library.js' => array(
109109
'dependencies' => array(
@@ -136,6 +136,7 @@
136136
'wp-private-apis',
137137
'wp-rich-text',
138138
'wp-server-side-render',
139+
'wp-shortcode',
139140
'wp-theme',
140141
'wp-upload-media',
141142
'wp-url',
@@ -147,7 +148,7 @@
147148
'import' => 'dynamic'
148149
)
149150
),
150-
'version' => '52817755f853f6ab7153'
151+
'version' => '9c1171e882b2ba2f7411'
151152
),
152153
'block-serialization-default-parser.js' => array(
153154
'dependencies' => array(
@@ -180,7 +181,7 @@
180181
'wp-shortcode',
181182
'wp-warning'
182183
),
183-
'version' => '9aea2a60e4a82baa898c'
184+
'version' => 'ece1f172d5b708916ebc'
184185
),
185186
'commands.js' => array(
186187
'dependencies' => array(
@@ -220,7 +221,7 @@
220221
'wp-rich-text',
221222
'wp-warning'
222223
),
223-
'version' => 'c74d7795ae739efd8470'
224+
'version' => '83936472a0d07a3a4c92'
224225
),
225226
'compose.js' => array(
226227
'dependencies' => array(
@@ -272,7 +273,7 @@
272273
'wp-url',
273274
'wp-warning'
274275
),
275-
'version' => '84dfcb788b38527ce29d'
276+
'version' => '21fd0114d22869dbe459'
276277
),
277278
'customize-widgets.js' => array(
278279
'dependencies' => array(
@@ -301,7 +302,7 @@
301302
'wp-theme',
302303
'wp-widgets'
303304
),
304-
'version' => '206784568d822411270a'
305+
'version' => '4da0091c281df82bd222'
305306
),
306307
'data.js' => array(
307308
'dependencies' => array(
@@ -314,7 +315,7 @@
314315
'wp-private-apis',
315316
'wp-redux-routine'
316317
),
317-
'version' => '148d59ef2548b2513db8'
318+
'version' => 'ee4e907a070c9780da2b'
318319
),
319320
'data-controls.js' => array(
320321
'dependencies' => array(
@@ -391,7 +392,7 @@
391392
'import' => 'static'
392393
)
393394
),
394-
'version' => 'c43a4fa8b00c3ba4431f'
395+
'version' => 'e5a1146f8586938ade23'
395396
),
396397
'edit-site.js' => array(
397398
'dependencies' => array(
@@ -440,7 +441,7 @@
440441
'import' => 'static'
441442
)
442443
),
443-
'version' => 'aa6e9b6786aea68585db'
444+
'version' => '25ce07d8e96c49452e7a'
444445
),
445446
'edit-widgets.js' => array(
446447
'dependencies' => array(
@@ -481,7 +482,7 @@
481482
'import' => 'static'
482483
)
483484
),
484-
'version' => '073d2e7bb4648840803a'
485+
'version' => '3382b8166d24bc8ebc42'
485486
),
486487
'editor.js' => array(
487488
'dependencies' => array(
@@ -531,7 +532,7 @@
531532
'import' => 'static'
532533
)
533534
),
534-
'version' => '9496d99a5f41ee4b8d8c'
535+
'version' => '3e365e98ba94f24ff5cf'
535536
),
536537
'element.js' => array(
537538
'dependencies' => array(
@@ -572,7 +573,7 @@
572573
'import' => 'dynamic'
573574
)
574575
),
575-
'version' => '6f640c16ab0835901167'
576+
'version' => 'b38d376fe79b3eac1578'
576577
),
577578
'hooks.js' => array(
578579
'dependencies' => array(
@@ -650,7 +651,7 @@
650651
'wp-url',
651652
'wp-warning'
652653
),
653-
'version' => '1ef9847260fd7de4188f'
654+
'version' => '597bd2b6e79b271e52c7'
654655
),
655656
'notices.js' => array(
656657
'dependencies' => array(
@@ -744,7 +745,7 @@
744745
'dependencies' => array(
745746

746747
),
747-
'version' => '7378f2cb5ba25f7aa9e5'
748+
'version' => 'ebe55c7ec838043537c7'
748749
),
749750
'react-i18n.js' => array(
750751
'dependencies' => array(
@@ -841,7 +842,7 @@
841842
'wp-element',
842843
'wp-private-apis'
843844
),
844-
'version' => '798ec32c86815d7e8a14'
845+
'version' => '3b1949512f2ec0c938bd'
845846
),
846847
'token-list.js' => array(
847848
'dependencies' => array(
@@ -872,7 +873,7 @@
872873
'import' => 'dynamic'
873874
)
874875
),
875-
'version' => '688c688a0ccf0f0d020b'
876+
'version' => '1399274c1ad48fc29498'
876877
),
877878
'url.js' => array(
878879
'dependencies' => array(

src/wp-includes/assets/script-modules-packages.php

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
'import' => 'static'
167167
)
168168
),
169-
'version' => '1ea95bd3abfe75ec1bbc'
169+
'version' => '5e02fdb03b9e05e7ba82'
170170
),
171171
'connectors/index.js' => array(
172172
'dependencies' => array(
@@ -179,6 +179,41 @@
179179
),
180180
'version' => 'dce5e2b0fc240815717b'
181181
),
182+
'content-types/index.js' => array(
183+
'dependencies' => array(
184+
'react',
185+
'react-dom',
186+
'react-jsx-runtime',
187+
'wp-components',
188+
'wp-compose',
189+
'wp-core-data',
190+
'wp-data',
191+
'wp-date',
192+
'wp-deprecated',
193+
'wp-element',
194+
'wp-i18n',
195+
'wp-is-shallow-equal',
196+
'wp-keycodes',
197+
'wp-notices',
198+
'wp-preferences',
199+
'wp-primitives',
200+
'wp-private-apis',
201+
'wp-theme',
202+
'wp-url',
203+
'wp-warning'
204+
),
205+
'module_dependencies' => array(
206+
array(
207+
'id' => '@wordpress/a11y',
208+
'import' => 'static'
209+
),
210+
array(
211+
'id' => '@wordpress/route',
212+
'import' => 'static'
213+
)
214+
),
215+
'version' => '9a35d0da8badd6a33cf8'
216+
),
182217
'core-abilities/index.js' => array(
183218
'dependencies' => array(
184219
'wp-api-fetch',
@@ -211,7 +246,7 @@
211246
'dependencies' => array(
212247

213248
),
214-
'version' => '4d2a3a72c7410d548881'
249+
'version' => 'efaa5193bbad9c60ffd1'
215250
),
216251
'interactivity-router/full-page.js' => array(
217252
'dependencies' => array(
@@ -273,7 +308,7 @@
273308
'wp-private-apis',
274309
'wp-style-engine'
275310
),
276-
'version' => '4dbbb677aac222671901'
311+
'version' => '8bd91519756b243fc835'
277312
),
278313
'route/index.js' => array(
279314
'dependencies' => array(
@@ -284,30 +319,6 @@
284319
),
285320
'version' => '48a77bfa70722b4254e4'
286321
),
287-
'user-taxonomies/index.js' => array(
288-
'dependencies' => array(
289-
'react',
290-
'react-dom',
291-
'react-jsx-runtime',
292-
'wp-components',
293-
'wp-compose',
294-
'wp-core-data',
295-
'wp-data',
296-
'wp-element',
297-
'wp-i18n',
298-
'wp-notices',
299-
'wp-primitives',
300-
'wp-private-apis',
301-
'wp-theme'
302-
),
303-
'module_dependencies' => array(
304-
array(
305-
'id' => '@wordpress/a11y',
306-
'import' => 'static'
307-
)
308-
),
309-
'version' => '339ee65736f7a738a4ad'
310-
),
311322
'vips/loader.js' => array(
312323
'dependencies' => array(
313324

src/wp-includes/blocks/navigation.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,11 @@ private static function get_overlay_blocks_from_template_part( $overlay_template
425425
$full_template_part_id = $theme . '//' . $slug;
426426
$block_template = get_block_file_template( $full_template_part_id, 'wp_template_part' );
427427
if ( isset( $block_template->content ) ) {
428-
$parsed_blocks = parse_blocks( $block_template->content );
428+
// Expand shortcodes before parsing blocks, matching the order in
429+
// `render_block_core_template_part()`.
430+
$content = shortcode_unautop( $block_template->content );
431+
$content = do_shortcode( $content );
432+
$parsed_blocks = parse_blocks( $content );
429433
$blocks = block_core_navigation_filter_out_empty_blocks( $parsed_blocks );
430434
// Disable overlay menu for any navigation blocks within the overlay to prevent nested overlays.
431435
$blocks = static::disable_overlay_menu_for_nested_navigation_blocks( $blocks );
@@ -449,6 +453,12 @@ private static function get_overlay_blocks_from_template_part( $overlay_template
449453
// Re-serialize, and run Block Hooks algorithm to inject hooked blocks.
450454
$markup = serialize_blocks( $blocks );
451455
$markup = apply_block_hooks_to_content_from_post_object( $markup, $template_part_post );
456+
457+
// Expand shortcodes before parsing blocks, matching the order in
458+
// `render_block_core_template_part()`.
459+
$markup = shortcode_unautop( $markup );
460+
$markup = do_shortcode( $markup );
461+
452462
$blocks = parse_blocks( $markup );
453463

454464
// Disable overlay menu for any navigation blocks within the overlay to prevent nested overlays.

src/wp-includes/build/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
*/
1010

1111
return array(
12-
'version' => '23.1.0',
12+
'version' => '23.2.0',
1313
'build_url' => includes_url( 'build/' ),
1414
);

src/wp-includes/build/pages.php

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,23 @@
66
* @package wp
77
*/
88

9-
require_once __DIR__ . '/pages/font-library/page.php';
10-
require_once __DIR__ . '/pages/font-library/page-wp-admin.php';
11-
require_once __DIR__ . '/pages/options-connectors/page.php';
12-
require_once __DIR__ . '/pages/options-connectors/page-wp-admin.php';
13-
require_once __DIR__ . '/pages/guidelines/page.php';
14-
require_once __DIR__ . '/pages/guidelines/page-wp-admin.php';
15-
require_once __DIR__ . '/pages/experiments/page.php';
16-
require_once __DIR__ . '/pages/experiments/page-wp-admin.php';
17-
require_once __DIR__ . '/pages/taxonomies/page.php';
18-
require_once __DIR__ . '/pages/taxonomies/page-wp-admin.php';
19-
require_once __DIR__ . '/pages/dashboard/page.php';
20-
require_once __DIR__ . '/pages/dashboard/page-wp-admin.php';
9+
foreach ( [
10+
__DIR__ . '/pages/media-editor/page.php',
11+
__DIR__ . '/pages/media-editor/page-wp-admin.php',
12+
__DIR__ . '/pages/font-library/page.php',
13+
__DIR__ . '/pages/font-library/page-wp-admin.php',
14+
__DIR__ . '/pages/options-connectors/page.php',
15+
__DIR__ . '/pages/options-connectors/page-wp-admin.php',
16+
__DIR__ . '/pages/guidelines/page.php',
17+
__DIR__ . '/pages/guidelines/page-wp-admin.php',
18+
__DIR__ . '/pages/experiments/page.php',
19+
__DIR__ . '/pages/experiments/page-wp-admin.php',
20+
__DIR__ . '/pages/content-types/page.php',
21+
__DIR__ . '/pages/content-types/page-wp-admin.php',
22+
__DIR__ . '/pages/dashboard/page.php',
23+
__DIR__ . '/pages/dashboard/page-wp-admin.php',
24+
] as $file ) {
25+
if ( file_exists( $file ) ) {
26+
require_once $file;
27+
}
28+
}

src/wp-includes/build/pages/font-library/page-wp-admin.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,21 @@ function ( $handle ) {
196196
}
197197
}
198198

199+
/**
200+
* Filters the boot script-module dependencies for the
201+
* font-library-wp-admin page.
202+
*
203+
* Surfaces extending this page can append entries to the boot
204+
* dependency list. Each entry is an array with 'import' (string
205+
* 'static' or 'dynamic') and 'id' (script-module handle) keys.
206+
*
207+
* @param array $boot_dependencies Boot dependencies for the page.
208+
*/
209+
$boot_dependencies = apply_filters(
210+
'font-library-wp-admin_boot_dependencies',
211+
$boot_dependencies
212+
);
213+
199214
// Dummy script module to ensure dependencies are loaded
200215
wp_register_script_module(
201216
'font-library-wp-admin',

src/wp-includes/build/pages/font-library/page.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,21 @@ function ( $handle ) {
209209
}
210210
}
211211

212+
/**
213+
* Filters the boot script-module dependencies for the
214+
* font-library page.
215+
*
216+
* Surfaces extending this page can append entries to the boot
217+
* dependency list. Each entry is an array with 'import' (string
218+
* 'static' or 'dynamic') and 'id' (script-module handle) keys.
219+
*
220+
* @param array $boot_dependencies Boot dependencies for the page.
221+
*/
222+
$boot_dependencies = apply_filters(
223+
'font-library_boot_dependencies',
224+
$boot_dependencies
225+
);
226+
212227
// Dummy script module to ensure dependencies are loaded
213228
wp_register_script_module(
214229
'font-library',

0 commit comments

Comments
 (0)