Switching to @wordpress/edit-site to fix incompatibility issues with Jetpack

This commit is contained in:
Oluwaseun Olorunsola
2025-01-08 15:01:11 +01:00
committed by Oluwaseun Olorunsola
parent e429bd99b1
commit 378ab3bc94

View File

@@ -11,7 +11,7 @@ import { store as coreStore } from '@wordpress/core-data';
const { unlock } = __dangerousOptInToUnstableAPIsOnlyForCoreModules( const { unlock } = __dangerousOptInToUnstableAPIsOnlyForCoreModules(
'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.', 'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',
'@wordpress/edit-post' // The module name must be in the list of allowed, so for now I used the package name of the post editor '@wordpress/edit-site' // The module name must be in the list of allowed, so for now I used the package name of the post editor
); );
/** /**