Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://develop.svn.wordpress.org/trunk"
},
"gutenberg": {
"sha": "c15cef1d6b07f666df28dac0383bafb0edfe0914",
"sha": "3a4e8d1418d25da83b70158bcaabf65580690b6b",
"ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
},
"engines": {
Expand Down
12 changes: 6 additions & 6 deletions src/wp-includes/assets/script-loader-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
'wp-url',
'wp-warning'
),
'version' => '7e969d1c58fd6b032753'
'version' => '93c3566b7f24c15b7e17'
),
'block-library.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -142,7 +142,7 @@
'import' => 'dynamic'
)
),
'version' => 'bbcc73335599ce2b8d51'
'version' => '2dffdfe77b9c5cba960e'
),
'block-serialization-default-parser.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -304,7 +304,7 @@
'wp-private-apis',
'wp-redux-routine'
),
'version' => 'dc7feb6ad8da53887680'
'version' => '1756b6a2676c1b3369ab'
),
'data-controls.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -381,7 +381,7 @@
'import' => 'static'
)
),
'version' => '69ec189de328df478ab5'
'version' => '1975171eba5481ff37cd'
),
'edit-site.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -428,7 +428,7 @@
'import' => 'static'
)
),
'version' => '34fbf7f8c7d55055d9cd'
'version' => 'dfd078032a67983c4d32'
),
'edit-widgets.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -519,7 +519,7 @@
'import' => 'static'
)
),
'version' => 'f8cdc22abc621b3f9409'
'version' => '77209b33a51951b61574'
),
'element.js' => array(
'dependencies' => array(
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/assets/script-modules-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
'import' => 'static'
)
),
'version' => '42d3f09bba14cce3054d'
'version' => '54bb5a420026a61c7e4f'
),
'connectors/index.js' => array(
'dependencies' => array(
Expand Down
12 changes: 11 additions & 1 deletion src/wp-includes/blocks/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,11 @@ private static function get_overlay_blocks_from_template_part( $overlay_template
$full_template_part_id = $theme . '//' . $slug;
$block_template = get_block_file_template( $full_template_part_id, 'wp_template_part' );
if ( isset( $block_template->content ) ) {
$parsed_blocks = parse_blocks( $block_template->content );
// Expand shortcodes before parsing blocks, matching the order in
// `render_block_core_template_part()`.
$content = shortcode_unautop( $block_template->content );
$content = do_shortcode( $content );
$parsed_blocks = parse_blocks( $content );
$blocks = block_core_navigation_filter_out_empty_blocks( $parsed_blocks );
// Disable overlay menu for any navigation blocks within the overlay to prevent nested overlays.
$blocks = static::disable_overlay_menu_for_nested_navigation_blocks( $blocks );
Expand All @@ -449,6 +453,12 @@ private static function get_overlay_blocks_from_template_part( $overlay_template
// Re-serialize, and run Block Hooks algorithm to inject hooked blocks.
$markup = serialize_blocks( $blocks );
$markup = apply_block_hooks_to_content_from_post_object( $markup, $template_part_post );

// Expand shortcodes before parsing blocks, matching the order in
// `render_block_core_template_part()`.
$markup = shortcode_unautop( $markup );
$markup = do_shortcode( $markup );

$blocks = parse_blocks( $markup );

// Disable overlay menu for any navigation blocks within the overlay to prevent nested overlays.
Expand Down
429 changes: 327 additions & 102 deletions src/wp-includes/build/routes/connectors-home/content.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/connectors', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '8a0e3b7671b73b29d3ab');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-private-apis', 'wp-theme', 'wp-url'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/connectors', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => 'b614fcaf0d408b3eff9d');

Large diffs are not rendered by default.

68 changes: 30 additions & 38 deletions src/wp-includes/build/routes/font-list/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ var { Fill: SidebarToggleFill, Slot: SidebarToggleSlot } = (0, import_components
// packages/admin-ui/build-module/page/header.mjs
var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
function Header({
headingLevel = 2,
headingLevel = 1,
breadcrumbs,
badges,
title,
Expand All @@ -819,42 +819,34 @@ function Header({
showSidebarToggle = true
}) {
const HeadingTag = `h${headingLevel}`;
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
Stack,
{
direction: "column",
className: "admin-ui-page__header",
render: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("header", {}),
children: [
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Stack, { direction: "row", justify: "space-between", gap: "sm", children: [
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Stack, { direction: "row", gap: "sm", align: "center", justify: "start", children: [
showSidebarToggle && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
SidebarToggleSlot,
{
bubblesVirtually: true,
className: "admin-ui-page__sidebar-toggle-slot"
}
),
title && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(HeadingTag, { className: "admin-ui-page__header-title", children: title }),
breadcrumbs,
badges
] }),
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
Stack,
{
direction: "row",
gap: "sm",
style: { width: "auto", flexShrink: 0 },
className: "admin-ui-page__header-actions",
align: "center",
children: actions
}
)
] }),
subTitle && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "admin-ui-page__header-subtitle", children: subTitle })
]
}
);
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Stack, { direction: "column", className: "admin-ui-page__header", children: [
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Stack, { direction: "row", justify: "space-between", gap: "sm", children: [
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Stack, { direction: "row", gap: "sm", align: "center", justify: "start", children: [
showSidebarToggle && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
SidebarToggleSlot,
{
bubblesVirtually: true,
className: "admin-ui-page__sidebar-toggle-slot"
}
),
title && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(HeadingTag, { className: "admin-ui-page__header-title", children: title }),
breadcrumbs,
badges
] }),
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
Stack,
{
direction: "row",
gap: "sm",
style: { width: "auto", flexShrink: 0 },
className: "admin-ui-page__header-actions",
align: "center",
children: actions
}
)
] }),
subTitle && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("p", { className: "admin-ui-page__header-subtitle", children: subTitle })
] });
}

// packages/admin-ui/build-module/page/index.mjs
Expand Down Expand Up @@ -15480,7 +15472,7 @@ function FontLibraryPage() {
}))
);
}
return /* @__PURE__ */ React.createElement(page_default, { headingLevel: 1, title: (0, import_i18n46.__)("Fonts") }, /* @__PURE__ */ React.createElement(
return /* @__PURE__ */ React.createElement(page_default, { title: (0, import_i18n46.__)("Fonts") }, /* @__PURE__ */ React.createElement(
Tabs3,
{
selectedTabId: activeTab,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-private-apis', 'wp-style-engine', 'wp-theme'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '87ed406cb72d86f09e6b');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-private-apis', 'wp-style-engine', 'wp-theme'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => 'f4a76b3cfc58409a8d9c');
6 changes: 3 additions & 3 deletions src/wp-includes/build/routes/font-list/content.min.js

Large diffs are not rendered by default.

Loading