Skip to content

Commit

Permalink
Update string on private APIs, changed in WordPress/gutenberg#62635 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pkevan authored Jul 8, 2024
1 parent 0dcd59d commit 99d71f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';

export const { lock, unlock } = __dangerousOptInToUnstableAPIsOnlyForCoreModules(
'I know using unstable features means my theme or plugin will inevitably 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' // Hack to enable APIs by using a core package.
);

0 comments on commit 99d71f9

Please sign in to comment.