Commit 3a7248a22fa for woocommerce

commit 3a7248a22fa3e4db6ba7f219f7b9f13902228391
Author: Rostislav Wolný <1082140+costasovo@users.noreply.github.com>
Date:   Thu Nov 26 14:40:50 2026 +0100

    Require WordPress 7.0 in the email editor packages (#71322)

    * Require WordPress 7.0 in the email editor packages

    WooCommerce and MailPoet both require WordPress 7.0 now, so the code that kept the email editor working on WordPress 6.7 and 6.8 is no longer reached, and each fallback is one more path to check on every WordPress and Gutenberg release. The packages now require 7.0, use the stable Navigator component, rely on the command palette core loads on admin pages (so the @wordpress/commands dependency goes too), and register the trash and template actions only through core.registerPostTypeSchema. The __experimentalBorder check stays, because core blocks in WordPress 7.0 still declare border support under that key.

diff --git a/packages/js/email-editor/README.md b/packages/js/email-editor/README.md
index 8cced9718f0..e4fc5770832 100644
--- a/packages/js/email-editor/README.md
+++ b/packages/js/email-editor/README.md
@@ -6,6 +6,10 @@ You can try the email editor in [the WordPress Playground](https://playground.wo

 This JavaScript package is designed to work in conjunction with its PHP counterpart, which can be found in the same repository at `packages/php/email-editor`. Both packages are required for full functionality.

+## Requirements
+
+-   WordPress 7.0 or newer
+
 ## Initializing the editor

 > **Note:** The `initializeEditor` function is currently experimental and its API is subject to change in future releases. Please be aware that breaking changes may occur.
diff --git a/packages/js/email-editor/changelog/wooplug-8228-email-editor-raise-the-minimum-wordpress b/packages/js/email-editor/changelog/wooplug-8228-email-editor-raise-the-minimum-wordpress
new file mode 100644
index 00000000000..449379c39bd
--- /dev/null
+++ b/packages/js/email-editor/changelog/wooplug-8228-email-editor-raise-the-minimum-wordpress
@@ -0,0 +1,4 @@
+Significance: major
+Type: update
+
+Require WordPress 7.0 or newer and remove the code that kept the editor working on WordPress 6.7 and 6.8.
diff --git a/packages/js/email-editor/package.json b/packages/js/email-editor/package.json
index 77242934218..56b627ac82b 100644
--- a/packages/js/email-editor/package.json
+++ b/packages/js/email-editor/package.json
@@ -87,7 +87,6 @@
 		"@wordpress/block-editor": "catalog:wp-min",
 		"@wordpress/block-library": "catalog:wp-min",
 		"@wordpress/blocks": "catalog:wp-min",
-		"@wordpress/commands": "catalog:wp-min",
 		"@wordpress/components": "catalog:wp-min",
 		"@wordpress/compose": "catalog:wp-min",
 		"@wordpress/core-data": "catalog:wp-min",
diff --git a/packages/js/email-editor/src/components/block-editor/editor.tsx b/packages/js/email-editor/src/components/block-editor/editor.tsx
index ca14f4954a1..85ae4768168 100644
--- a/packages/js/email-editor/src/components/block-editor/editor.tsx
+++ b/packages/js/email-editor/src/components/block-editor/editor.tsx
@@ -5,7 +5,6 @@ import { useSelect, useDispatch } from '@wordpress/data';
 import { useCallback, useMemo, useEffect } from '@wordpress/element';
 import { SlotFillProvider, ProgressBar } from '@wordpress/components';
 import { store as coreStore, Post } from '@wordpress/core-data';
-import { CommandMenu, store as commandsStore } from '@wordpress/commands';
 import { PluginArea } from '@wordpress/plugins';
 import {
 	AutosaveMonitor as _AutosaveMonitor,
@@ -108,17 +107,13 @@ export function InnerEditor( {

 	// isFullScreenForced – comes from settings and cannot be changed by the user
 	// isFullscreenEnabled – indicates if a user has enabled fullscreen mode
-	const { isFullscreenEnabled, allCommands, listingsUrl } = useSelect(
-		( select ) => {
-			return {
-				isFullscreenEnabled:
-					select( storeName ).isFeatureActive( 'fullscreenMode' ),
-				allCommands: select( commandsStore ).getCommands(),
-				listingsUrl: select( storeName ).getUrls()?.listings,
-			};
-		},
-		[]
-	);
+	const { isFullscreenEnabled, listingsUrl } = useSelect( ( select ) => {
+		return {
+			isFullscreenEnabled:
+				select( storeName ).isFeatureActive( 'fullscreenMode' ),
+			listingsUrl: select( storeName ).getUrls()?.listings,
+		};
+	}, [] );

 	// From WordPress 7.2 emails whose post type doesn't opt in to the email editor's delete action
 	// (`woocommerce_email_editor_replace_trash_action`) get core's, which leave it to the editor
@@ -181,19 +176,10 @@ export function InnerEditor( {
 			</div>
 		);
 	}
-	// In WordPress 6.8 WooCommerce commands are registered because Core does
-	// not mount the global CommandMenu. Use that as a signal to render our own
-	// CommandMenu fallback. Core loads it starting in WordPress 6.9.
-	const isWordPress68 = allCommands.every( ( { name } ) =>
-		name.includes( 'woocommerce' )
-	);
-
 	recordEventOnce( 'editor_layout_loaded' );
 	return (
 		<SlotFillProvider>
 			<ErrorBoundary canCopyContent>
-				{ /* Keep this fallback only for WordPress 6.8. Core mounts the CommandMenu in 6.9+. */ }
-				{ isWordPress68 && <CommandMenu /> }
 				<Editor
 					postId={ currentPost.postId }
 					postType={ currentPost.postType }
diff --git a/packages/js/email-editor/src/components/sidebar/block-compatibility-warnings.tsx b/packages/js/email-editor/src/components/sidebar/block-compatibility-warnings.tsx
index 7479abceec3..f9589a32e66 100644
--- a/packages/js/email-editor/src/components/sidebar/block-compatibility-warnings.tsx
+++ b/packages/js/email-editor/src/components/sidebar/block-compatibility-warnings.tsx
@@ -30,7 +30,7 @@ export function BlockCompatibilityWarnings(): JSX.Element {
 			'border',
 			false
 		) ||
-		// We can remove the check for __experimentalBorder after we support WordPress 6.8+.
+		// Core blocks and core's border support still use the __experimentalBorder key.
 		hasBlockSupport(
 			selectedBlock?.name,
 			// @ts-expect-error Border is not yet supported in the types
diff --git a/packages/js/email-editor/src/components/sidebar/test/block-compatibility-warnings.spec.tsx b/packages/js/email-editor/src/components/sidebar/test/block-compatibility-warnings.spec.tsx
index 55e81519709..202ba31df20 100644
--- a/packages/js/email-editor/src/components/sidebar/test/block-compatibility-warnings.spec.tsx
+++ b/packages/js/email-editor/src/components/sidebar/test/block-compatibility-warnings.spec.tsx
@@ -1,14 +1,37 @@
 /**
  * External dependencies
  */
-import { getBlockSupport } from '@wordpress/blocks';
+import { render, screen } from '@testing-library/react';
+import '@testing-library/jest-dom';
+import {
+	getBlockSupport,
+	registerBlockType,
+	unregisterBlockType,
+} from '@wordpress/blocks';
+import { useSelect } from '@wordpress/data';

 /**
  * Internal dependencies
  */
-import { hasBackgroundImageSupport } from '../block-compatibility-warnings';
+import {
+	BlockCompatibilityWarnings,
+	hasBackgroundImageSupport,
+} from '../block-compatibility-warnings';

-jest.mock( '@wordpress/blocks', () => ( { getBlockSupport: jest.fn() } ) );
+jest.mock( '@wordpress/blocks', () => ( {
+	...jest.requireActual( '@wordpress/blocks' ),
+	getBlockSupport: jest.fn(),
+} ) );
+
+jest.mock( '@wordpress/data', () => ( {
+	...jest.requireActual( '@wordpress/data' ),
+	useSelect: jest.fn(),
+} ) );
+
+jest.mock( '@wordpress/components', () => ( {
+	Fill: ( { children } ) => <div>{ children }</div>,
+	Notice: ( { children } ) => <div>{ children }</div>,
+} ) );

 describe( 'hasBackgroundImageSupport', () => {
 	it.each( [
@@ -28,3 +51,59 @@ describe( 'hasBackgroundImageSupport', () => {
 		);
 	} );
 } );
+
+const BORDER_WARNING =
+	'Border display may vary or be unsupported in some email clients.';
+
+const BLOCK_SUPPORTS = {
+	'test/experimental-border': {
+		__experimentalBorder: { color: true, width: true },
+	},
+	'test/border': { border: { color: true, width: true } },
+	'test/no-border': {},
+};
+
+function renderWithSelectedBlock( name: string ) {
+	( useSelect as jest.Mock ).mockReturnValue( { name } );
+	render( <BlockCompatibilityWarnings /> );
+}
+
+describe( 'BlockCompatibilityWarnings', () => {
+	beforeAll( () => {
+		Object.entries( BLOCK_SUPPORTS ).forEach( ( [ name, supports ] ) => {
+			registerBlockType( name, {
+				apiVersion: 3,
+				title: name,
+				category: 'text',
+				supports,
+				edit: () => null,
+				save: () => null,
+			} );
+		} );
+	} );
+
+	afterAll( () => {
+		Object.keys( BLOCK_SUPPORTS ).forEach( ( name ) =>
+			unregisterBlockType( name )
+		);
+	} );
+
+	it.each( [ 'test/experimental-border', 'test/border' ] )(
+		'shows the border warning for %s',
+		( name ) => {
+			renderWithSelectedBlock( name );
+
+			expect(
+				screen.getByText( BORDER_WARNING, { exact: false } )
+			).toBeInTheDocument();
+		}
+	);
+
+	it( 'does not show the border warning for a block without border support', () => {
+		renderWithSelectedBlock( 'test/no-border' );
+
+		expect(
+			screen.queryByText( BORDER_WARNING, { exact: false } )
+		).not.toBeInTheDocument();
+	} );
+} );
diff --git a/packages/js/email-editor/src/components/styles-sidebar/navigator.ts b/packages/js/email-editor/src/components/styles-sidebar/navigator.ts
deleted file mode 100644
index e386f45fca8..00000000000
--- a/packages/js/email-editor/src/components/styles-sidebar/navigator.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * This is a temporary solution we can drop after we stop supporting WordPress 6.7.
- * Navigator was added in WordPress 6.8.
- */
-/**
- * External dependencies
- */
-import {
-	Navigator as WPNavigator,
-	__experimentalNavigatorProvider as NavigatorProvider,
-	__experimentalNavigatorScreen as NavigatorScreen,
-	__experimentalNavigatorBackButton as NavigatorBackButton,
-} from '@wordpress/components';
-
-type NavigatorWithCompound = typeof WPNavigator & {
-	Screen: typeof NavigatorScreen;
-	BackButton: typeof NavigatorBackButton;
-};
-
-const Navigator = ( WPNavigator || NavigatorProvider ) as NavigatorWithCompound;
-
-if ( ! WPNavigator ) {
-	Navigator.Screen = NavigatorScreen;
-	Navigator.BackButton = NavigatorBackButton;
-}
-
-export { Navigator };
diff --git a/packages/js/email-editor/src/components/styles-sidebar/panels/typography-panel.tsx b/packages/js/email-editor/src/components/styles-sidebar/panels/typography-panel.tsx
index 01f4df99165..d672b331970 100644
--- a/packages/js/email-editor/src/components/styles-sidebar/panels/typography-panel.tsx
+++ b/packages/js/email-editor/src/components/styles-sidebar/panels/typography-panel.tsx
@@ -5,7 +5,7 @@ import { __, sprintf } from '@wordpress/i18n';
 import {
 	__experimentalItemGroup as ItemGroup,
 	__experimentalItem as Item,
-	__experimentalNavigatorButton as NavigatorButton,
+	Navigator,
 	FlexItem,
 } from '@wordpress/components';
 import { Stack, Text } from '@wordpress/ui';
@@ -40,7 +40,7 @@ function ElementItem( { element, label }: { element: string; label: string } ) {

 	return (
 		<Item>
-			<NavigatorButton
+			<Navigator.Button
 				path={ `/typography/${ element }` }
 				aria-label={ navigationButtonLabel }
 				onClick={ () =>
@@ -74,7 +74,7 @@ function ElementItem( { element, label }: { element: string; label: string } ) {
 					</FlexItem>
 					<FlexItem>{ label }</FlexItem>
 				</Stack>
-			</NavigatorButton>
+			</Navigator.Button>
 		</Item>
 	);
 }
diff --git a/packages/js/email-editor/src/components/styles-sidebar/screens/screen-header.tsx b/packages/js/email-editor/src/components/styles-sidebar/screens/screen-header.tsx
index 2f2d9da14db..d73cb3f5fc8 100644
--- a/packages/js/email-editor/src/components/styles-sidebar/screens/screen-header.tsx
+++ b/packages/js/email-editor/src/components/styles-sidebar/screens/screen-header.tsx
@@ -4,16 +4,12 @@
 import { __ } from '@wordpress/i18n';
 import { chevronLeft } from '@wordpress/icons';
 import {
+	Navigator,
 	__experimentalSpacer as Spacer,
 	__experimentalView as View,
 } from '@wordpress/components';
 import { Stack, Text } from '@wordpress/ui';

-/**
- * Internal dependencies
- */
-import { Navigator } from '../navigator';
-
 type Props = {
 	title: string;
 	description?: string;
diff --git a/packages/js/email-editor/src/components/styles-sidebar/screens/screen-root.tsx b/packages/js/email-editor/src/components/styles-sidebar/screens/screen-root.tsx
index 72db9a3aa69..c1a1d941b84 100644
--- a/packages/js/email-editor/src/components/styles-sidebar/screens/screen-root.tsx
+++ b/packages/js/email-editor/src/components/styles-sidebar/screens/screen-root.tsx
@@ -6,7 +6,7 @@ import { typography, color, background, layout } from '@wordpress/icons';
 import {
 	__experimentalItemGroup as ItemGroup,
 	__experimentalItem as Item,
-	__experimentalNavigatorButton as NavigatorButton,
+	Navigator,
 	Icon,
 	FlexItem,
 } from '@wordpress/components';
@@ -35,7 +35,7 @@ export function ScreenRoot(): JSX.Element {
 				</Card.Content>
 			</Card.Root>
 			<ItemGroup>
-				<NavigatorButton
+				<Navigator.Button
 					path="/typography"
 					onClick={ () =>
 						recordEvent( 'styles_sidebar_navigation_click', {
@@ -51,8 +51,8 @@ export function ScreenRoot(): JSX.Element {
 							</FlexItem>
 						</Stack>
 					</Item>
-				</NavigatorButton>
-				<NavigatorButton
+				</Navigator.Button>
+				<Navigator.Button
 					path="/colors"
 					onClick={ () =>
 						recordEvent( 'styles_sidebar_navigation_click', {
@@ -68,9 +68,9 @@ export function ScreenRoot(): JSX.Element {
 							</FlexItem>
 						</Stack>
 					</Item>
-				</NavigatorButton>
+				</Navigator.Button>
 				{ hasBackgroundScreen && (
-					<NavigatorButton
+					<Navigator.Button
 						path="/background"
 						onClick={ () =>
 							recordEvent( 'styles_sidebar_navigation_click', {
@@ -86,9 +86,9 @@ export function ScreenRoot(): JSX.Element {
 								</FlexItem>
 							</Stack>
 						</Item>
-					</NavigatorButton>
+					</Navigator.Button>
 				) }
-				<NavigatorButton
+				<Navigator.Button
 					path="/layout"
 					onClick={ () =>
 						recordEvent( 'styles_sidebar_navigation_click', {
@@ -104,7 +104,7 @@ export function ScreenRoot(): JSX.Element {
 							</FlexItem>
 						</Stack>
 					</Item>
-				</NavigatorButton>
+				</Navigator.Button>
 			</ItemGroup>
 		</Stack>
 	);
diff --git a/packages/js/email-editor/src/components/styles-sidebar/styles-sidebar.tsx b/packages/js/email-editor/src/components/styles-sidebar/styles-sidebar.tsx
index c6076b98733..9fce030fda8 100644
--- a/packages/js/email-editor/src/components/styles-sidebar/styles-sidebar.tsx
+++ b/packages/js/email-editor/src/components/styles-sidebar/styles-sidebar.tsx
@@ -6,6 +6,7 @@ import { __ } from '@wordpress/i18n';
 import { useSelect } from '@wordpress/data';
 import { styles } from '@wordpress/icons';
 import { PluginSidebar, PluginSidebarMoreMenuItem } from '@wordpress/editor';
+import { Navigator } from '@wordpress/components';

 /**
  * Internal dependencies
@@ -19,7 +20,6 @@ import {
 	ScreenColors,
 	ScreenBackground,
 } from './screens';
-import { Navigator } from './navigator';

 export function RawStylesSidebar(): JSX.Element {
 	const { userCanEditGlobalStyles } = useSelect( ( select ) => {
diff --git a/packages/js/email-editor/src/hacks/README.md b/packages/js/email-editor/src/hacks/README.md
index 4648e0790cb..b8c0ed15e40 100644
--- a/packages/js/email-editor/src/hacks/README.md
+++ b/packages/js/email-editor/src/hacks/README.md
@@ -44,7 +44,7 @@ Each hack below represents functionality that should ideally be supported throug

 - Unregisters the default `move-to-trash` action
 - Registers a custom trash action specific to email posts
-- Hooks into both `core.registerPostTypeSchema` (WP 6.8+) and `core.registerPostTypeActions` (WP 6.7+) for compatibility
+- Hooks into `core.registerPostTypeSchema`, which fires when the editor registers the post type's actions

 **Upstream solution needed:** A filter or configuration option to customize built-in entity actions without needing to unregister and re-register them.

diff --git a/packages/js/email-editor/src/hacks/modify-template-actions.tsx b/packages/js/email-editor/src/hacks/modify-template-actions.tsx
index 75176d23114..f989fcdd830 100644
--- a/packages/js/email-editor/src/hacks/modify-template-actions.tsx
+++ b/packages/js/email-editor/src/hacks/modify-template-actions.tsx
@@ -43,7 +43,6 @@ const modifyActionsForPostType = ( postType: string ) => {
  * - Replaces Gutenberg's reset action with custom implementation
  */
 function modifyTemplateActions() {
-	// Available in WordPress 6.8+
 	addActionForEmail(
 		'core.registerPostTypeSchema',
 		'woocommerce-email-editor/modify-template-actions',
@@ -51,15 +50,6 @@ function modifyTemplateActions() {
 			modifyActionsForPostType( postType );
 		}
 	);
-
-	// Support for WordPress 6.7+
-	addActionForEmail(
-		'core.registerPostTypeActions',
-		'woocommerce-email-editor/modify-template-actions',
-		( postType ) => {
-			modifyActionsForPostType( postType );
-		}
-	);
 }

 export { modifyTemplateActions };
diff --git a/packages/js/email-editor/src/hacks/move-to-trash.tsx b/packages/js/email-editor/src/hacks/move-to-trash.tsx
index 2363abd1fa3..e4d2916d1ed 100644
--- a/packages/js/email-editor/src/hacks/move-to-trash.tsx
+++ b/packages/js/email-editor/src/hacks/move-to-trash.tsx
@@ -14,7 +14,6 @@ const removeDefaultMoveToTrashActionAddCustom = ( postType: string ) => {
 };

 function modifyMoveToTrashAction() {
-	// Available in WordPress 6.8+
 	addActionForEmail(
 		'core.registerPostTypeSchema',
 		'woocommerce-email-editor/modify-move-to-trash-action',
@@ -22,15 +21,6 @@ function modifyMoveToTrashAction() {
 			removeDefaultMoveToTrashActionAddCustom( postType );
 		}
 	);
-
-	// Support for WordPress 6.7+
-	addActionForEmail(
-		'core.registerPostTypeActions',
-		'woocommerce-email-editor/modify-move-to-trash-action',
-		( postType ) => {
-			removeDefaultMoveToTrashActionAddCustom( postType );
-		}
-	);
 }

 export { modifyMoveToTrashAction };
diff --git a/packages/php/email-editor/README.md b/packages/php/email-editor/README.md
index b04a5ff61a6..1d50e9e1e84 100644
--- a/packages/php/email-editor/README.md
+++ b/packages/php/email-editor/README.md
@@ -6,6 +6,13 @@ This package covers functionality for bootstrapping the email editor JS applicat

 You can locate the JS package in [`packages/js/email-editor`](https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/email-editor)

+## Requirements
+
+- WordPress 7.0 or newer
+- PHP 7.4 or newer
+
+Call `Dependency_Check::are_dependencies_met()` before you initialize the editor. It returns `false` on an older WordPress version.
+
 ## Workflow Commands

 Note: The package is developed in [the WooCommerce monorepo](https://github.com/woocommerce/woocommerce/tree/trunk/packages/php/email-editor).
diff --git a/packages/php/email-editor/changelog/wooplug-8228-email-editor-raise-the-minimum-wordpress b/packages/php/email-editor/changelog/wooplug-8228-email-editor-raise-the-minimum-wordpress
new file mode 100644
index 00000000000..8b0fa52830e
--- /dev/null
+++ b/packages/php/email-editor/changelog/wooplug-8228-email-editor-raise-the-minimum-wordpress
@@ -0,0 +1,4 @@
+Significance: major
+Type: update
+
+Require WordPress 7.0 or newer: Dependency_Check::are_dependencies_met() now returns false on older versions.
diff --git a/packages/php/email-editor/email-editor.php b/packages/php/email-editor/email-editor.php
index a285be289e3..19cfb3ad720 100644
--- a/packages/php/email-editor/email-editor.php
+++ b/packages/php/email-editor/email-editor.php
@@ -12,7 +12,7 @@
  * Version: 0.0.1
  * Author: Automattic
  * Author URI: https://woocommerce.com
- * Requires at least: 6.7
+ * Requires at least: 7.0
  * Requires PHP: 7.4
  */

diff --git a/packages/php/email-editor/src/Engine/class-dependency-check.php b/packages/php/email-editor/src/Engine/class-dependency-check.php
index a5ddc120554..b012bce2033 100644
--- a/packages/php/email-editor/src/Engine/class-dependency-check.php
+++ b/packages/php/email-editor/src/Engine/class-dependency-check.php
@@ -15,7 +15,7 @@ class Dependency_Check {
 	/**
 	 * Minimum WordPress version required for the email editor.
 	 */
-	public const MIN_WP_VERSION = '6.7';
+	public const MIN_WP_VERSION = '7.0';

 	/**
 	 * Checks if all dependencies are met.
diff --git a/packages/php/email-editor/tests/integration/Engine/Dependency_Check_Test.php b/packages/php/email-editor/tests/integration/Engine/Dependency_Check_Test.php
index 90a7825eca8..0525281b85f 100644
--- a/packages/php/email-editor/tests/integration/Engine/Dependency_Check_Test.php
+++ b/packages/php/email-editor/tests/integration/Engine/Dependency_Check_Test.php
@@ -38,8 +38,8 @@ class Dependency_Check_Test extends \Email_Editor_Integration_Test_Case {
 	/**
 	 * Test the editor's dependencies are met from the minimum WordPress version on.
 	 *
-	 * @testWith ["6.6.2", false]
-	 *           ["6.7", true]
+	 * @testWith ["6.9.4", false]
+	 *           ["7.0", true]
 	 *           ["7.1", true]
 	 *
 	 * @param string $wp_version WordPress version.
diff --git a/packages/php/email-editor/tests/integration/Public_Api_Contract_Test.php b/packages/php/email-editor/tests/integration/Public_Api_Contract_Test.php
index 440bea31bd3..8864fb236d1 100644
--- a/packages/php/email-editor/tests/integration/Public_Api_Contract_Test.php
+++ b/packages/php/email-editor/tests/integration/Public_Api_Contract_Test.php
@@ -253,7 +253,7 @@ class Public_Api_Contract_Test extends \Email_Editor_Integration_Test_Case {
 			'link rendering context' => array( Personalizer::class . '::RENDERING_CONTEXT_HREF', 'href' ),
 			'rendering context key'  => array( Personalizer::class . '::RENDERING_CONTEXT_KEY', 'rendering_context' ),
 			'text value type'        => array( Personalization_Tag::class . '::VALUE_TYPE_TEXT', 'text' ),
-			'minimum WordPress'      => array( Dependency_Check::class . '::MIN_WP_VERSION', '6.7' ),
+			'minimum WordPress'      => array( Dependency_Check::class . '::MIN_WP_VERSION', '7.0' ),
 		);
 	}

diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 846a76dd637..3df4569cde0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -390,9 +390,6 @@ catalogs:
     '@wordpress/blocks':
       specifier: 15.6.3
       version: 15.6.3
-    '@wordpress/commands':
-      specifier: 1.33.5
-      version: 1.33.5
     '@wordpress/components':
       specifier: 30.6.5
       version: 30.6.5
@@ -1519,9 +1516,6 @@ importers:
       '@wordpress/blocks':
         specifier: catalog:wp-min
         version: 15.6.3(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
-      '@wordpress/commands':
-        specifier: catalog:wp-min
-        version: 1.33.5(@emotion/is-prop-valid@1.4.0)(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
       '@wordpress/components':
         specifier: catalog:wp-min
         version: 30.6.5(@emotion/is-prop-valid@1.4.0)(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
@@ -9935,13 +9929,6 @@ packages:
     peerDependencies:
       react: ^18.0.0

-  '@wordpress/commands@1.33.5':
-    resolution: {integrity: sha512-m8a/9ahGzEVYj77EfS6crzjq2Gq97DOXbeSqRSHrpePE/NSXPh6AAABRP/dKCI/0AysjJ0v/bKKTVnsFgkk0YA==}
-    engines: {node: '>=18.12.0', npm: '>=8.19.2'}
-    peerDependencies:
-      react: ^18.0.0
-      react-dom: ^18.0.0
-
   '@wordpress/commands@1.48.1':
     resolution: {integrity: sha512-yFmQ2yB4tOWPqhO+tE8uYyFqcGwxtOJ9uc1yHYfH40oMls3p+TswktsdbBM2gEmoYxfD+d3Nhp/mXGS38pdTdw==}
     engines: {node: '>=18.12.0', npm: '>=8.19.2'}
@@ -28389,26 +28376,6 @@ snapshots:
       - supports-color
       - vite

-  '@wordpress/commands@1.33.5(@emotion/is-prop-valid@1.4.0)(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
-    dependencies:
-      '@wordpress/base-styles': 6.20.0
-      '@wordpress/components': 30.9.0(@emotion/is-prop-valid@1.4.0)(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
-      '@wordpress/data': 10.33.1(@types/react@18.3.28)(react@18.3.1)
-      '@wordpress/element': 6.45.0
-      '@wordpress/i18n': 6.30.0
-      '@wordpress/icons': 11.8.0(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
-      '@wordpress/keyboard-shortcuts': 5.48.1(@types/react-dom@18.3.7(@types/react@18.3.28))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
-      '@wordpress/private-apis': 1.48.1
-      clsx: 2.1.1
-      cmdk: 1.1.1(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
-      react: 18.3.1
-      react-dom: 18.3.1(react@18.3.1)
-    transitivePeerDependencies:
-      - '@emotion/is-prop-valid'
-      - '@types/react'
-      - '@types/react-dom'
-      - supports-color
-
   '@wordpress/commands@1.48.1(@date-fns/tz@1.5.0)(@emotion/is-prop-valid@1.4.0)(@types/react-dom@18.3.7(@types/react@18.3.28))(@types/react@18.3.28)(esbuild@0.27.7)(postcss@8.5.26)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(stylelint@16.26.1(typescript@5.7.3))':
     dependencies:
       '@wordpress/base-styles': 10.2.0