Since the release of 7.7.0, the following changes have been made:
- WooCommerce Blocks has been updated to 10.2.0 which includes the following changes. For a full list of changes, see the 10.2.0 release post.
- The global enqueue of
wc-cart-fragmentshas been removed. (See dev note below) #35530
For the complete list, view the changelog in the readme for this release.
The Cart Fragments script, responsible for updating the cart widget after a successful add to cart event, can cause a performance issue on stores not making use of that functionality. To mitigate this, the script will now only be enqueued if using the Mini Cart widget.
Stores with similar functionality (e.g. from a theme) that are not using the widget can re-enable this functionality by either adding the widget to one of their widget areas/sidebars, or by enqueuing the script manually:
wp_enqueue_script( 'wc-cart-fragments' );
If you’re looking for an alternative to the Mini Cart widget that does not suffer from the performance issue, try the Mini Cart Block instead.
Actions and Filters
This release adds 1 new action and 2 new filters.
|Trigger action before removing all order line items. Allows you to track order items. [source]|
|Filter the aria-describedby description for the add to cart button. [source]|
|When false, Jetpack is removed from the list of suggested extensions. [source]|
This release has no database changes.
This release updates 13 templates
|Template File||GitHub Links|
We’re on track for our planned June 13 release.
|Release Candidate||June 6, 2023|
|Final Release||June 13, 2023|
If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.
If you discover any bugs during the testing process, please let us know by logging a report in GitHub.