This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Fix IconButton
deprecations for supporting WordPress 5.4+
#3511
Labels
focus: components
Work that introduces new or updates existing components.
priority: high
The issue/PR is high priority—it affects lots of customers substantially, but not critically.
type: good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
type: technical debt
This issue/PR represents/solves the technical debt of the project.
Milestone
WordPress 5.4 included an update to the
@wordpress/components
package that deprecates the usage of theIconButton
component. The recommended replacement is to useButton
instead.Since we can bump the minimum WordPress version support from WordPress 5.3 to 5.4 as a part of the WooCommerce Blocks 4.1.0 release (in line with our L2 support policy), we should take care of these deprecations.
This will also address in part the following issues that were created as a part of our WP 5.6 audit:
The text was updated successfully, but these errors were encountered: