fix: use correct WordPress Modal component props
Fix modal that was persisting by using correct @wordpress/components Modal API: - Use 'open' instead of 'isOpen' prop - Use 'onRequestClose' instead of 'onClose' - Add 'isDismissible' to allow closing with ESC/outside click - Add 'focusOnMount' for accessibility - Add deprecation warning props for TextControl (__next40pxDefaultSize, __nextHasNoMarginBottom) Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user