Skip to content

Commit

Permalink
Block Editor: Undeprecate the '__experimentalImageSizeControl' compon…
Browse files Browse the repository at this point in the history
…ent (#56414)
  • Loading branch information
Mamaduka authored Nov 22, 2023
1 parent 1003417 commit 3861da9
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
__experimentalNumberControl as NumberControl,
__experimentalHStack as HStack,
} from '@wordpress/components';
import deprecated from '@wordpress/deprecated';
import { __ } from '@wordpress/i18n';

/**
Expand All @@ -31,11 +30,6 @@ export default function ImageSizeControl( {
onChange,
onChangeImage = noop,
} ) {
deprecated( 'wp.blockEditor.__experimentalImageSizeControl', {
since: '6.3',
alternative:
'wp.blockEditor.privateApis.DimensionsTool and wp.blockEditor.privateApis.ResolutionTool',
} );
const { currentHeight, currentWidth, updateDimension, updateDimensions } =
useDimensionHandler( height, width, imageHeight, imageWidth, onChange );

Expand Down

0 comments on commit 3861da9

Please sign in to comment.