@wordpress/private-apis
Advanced tools
Comparing version 0.24.5 to 0.24.6
@@ -36,3 +36,3 @@ /** | ||
*/ | ||
const requiredConsent = 'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.'; | ||
const requiredConsent = 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.'; | ||
@@ -39,0 +39,0 @@ /** @type {boolean} */ |
@@ -45,3 +45,3 @@ "use strict"; | ||
*/ | ||
const requiredConsent = 'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.'; | ||
const requiredConsent = 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.'; | ||
@@ -48,0 +48,0 @@ /** @type {boolean} */ |
{ | ||
"name": "@wordpress/private-apis", | ||
"version": "0.24.5", | ||
"version": "0.24.6", | ||
"description": "Internal experimental APIs for WordPress core.", | ||
@@ -36,3 +36,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "edc87d3e33740b82b30f5e21c5953ecded84f08f" | ||
"gitHead": "640c80ab0fb4e0e2bce87e33895939f257e674df" | ||
} |
@@ -15,3 +15,3 @@ # Private APIs | ||
__dangerousOptInToUnstableAPIsOnlyForCoreModules( | ||
'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.', | ||
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.', | ||
'@wordpress/block-editor' // Name of the package calling __dangerousOptInToUnstableAPIsOnlyForCoreModules, | ||
@@ -26,3 +26,3 @@ // (not the name of the package whose APIs you want to access) | ||
1. The first argument must exactly match the required consent string: `'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.'`. | ||
1. The first argument must exactly match the required consent string: `'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.'`. | ||
2. The second argument must be a known `@wordpress` package that hasn't yet opted into `@wordpress/private-apis` | ||
@@ -29,0 +29,0 @@ |
@@ -54,3 +54,3 @@ /** | ||
const requiredConsent = | ||
'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.'; | ||
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.'; | ||
@@ -57,0 +57,0 @@ /** @type {boolean} */ |
@@ -19,3 +19,3 @@ /** | ||
const requiredConsent = | ||
'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.'; | ||
'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.'; | ||
@@ -22,0 +22,0 @@ describe( '__dangerousOptInToUnstableAPIsOnlyForCoreModules', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107859