Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecation notice for __experimentalImageSizeControl referencing private API replacements #56403

Closed
peterwilsoncc opened this issue Nov 21, 2023 · 0 comments · Fixed by #56414
Assignees
Labels
[Package] Block editor /packages/block-editor [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@peterwilsoncc
Copy link
Contributor

Description

In WordPress 6.3 a deprecation notice was added to wp.blockEditor.__experimentalImageSizeControl referring developers to wp.blockEditor.privateApis.DimensionsTool and wp.blockEditor.privateApis.ResolutionTool.

As these are private APIs, they're unavailable to extending developers so it's not possible to act upon the deprecation notice.

The deprecation notice ought to be removed until the private APIs are made public and extenders can act upon the notice.

cc @fabiankaegy @Mamaduka

Step-by-step reproduction instructions

N/A: Developer Experience bug

Screenshots, screen recording, code snippet

deprecated( 'wp.blockEditor.__experimentalImageSizeControl', {
since: '6.3',
alternative:
'wp.blockEditor.privateApis.DimensionsTool and wp.blockEditor.privateApis.ResolutionTool',
} );

Environment info

N/A

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@peterwilsoncc peterwilsoncc added the [Type] Bug An existing feature does not function as intended label Nov 21, 2023
@jordesign jordesign added the [Feature] Block API API that allows to express the block paradigm. label Nov 21, 2023
@Mamaduka Mamaduka added [Package] Block editor /packages/block-editor and removed [Feature] Block API API that allows to express the block paradigm. labels Nov 22, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Block editor /packages/block-editor [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants