Switching to @wordpress/edit-site to fix incompatibility issues with Jetpack
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
e429bd99b1
commit
378ab3bc94
@@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user