diff --git a/package-lock.json b/package-lock.json index a1060b1267af50..c3ffa28d21f3bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54605,7 +54605,6 @@ "@wordpress/icons": "*", "@wordpress/plugins": "*", "@wordpress/preferences": "*", - "@wordpress/private-apis": "*", "@wordpress/viewport": "*", "clsx": "^2.1.1" }, diff --git a/packages/interface/lock-unlock.js b/packages/interface/lock-unlock.js deleted file mode 100644 index 1e5bb39ed18c6d..00000000000000 --- a/packages/interface/lock-unlock.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * WordPress dependencies - */ -import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis'; - -export const { lock, 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.', - '@wordpress/interface' - ); diff --git a/packages/interface/package.json b/packages/interface/package.json index e5870e0dfadfb2..ed9e0debf96d7c 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -43,7 +43,6 @@ "@wordpress/icons": "*", "@wordpress/plugins": "*", "@wordpress/preferences": "*", - "@wordpress/private-apis": "*", "@wordpress/viewport": "*", "clsx": "^2.1.1" }, diff --git a/packages/private-apis/src/implementation.js b/packages/private-apis/src/implementation.js index ab0ebfae7ecb05..b32a95986d32c9 100644 --- a/packages/private-apis/src/implementation.js +++ b/packages/private-apis/src/implementation.js @@ -25,7 +25,6 @@ const CORE_MODULES_USING_PRIVATE_APIS = [ '@wordpress/edit-widgets', '@wordpress/editor', '@wordpress/format-library', - '@wordpress/interface', '@wordpress/patterns', '@wordpress/preferences', '@wordpress/reusable-blocks',