Beta 1 for the May 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.
Highlights
- Bumped minimum required PHP version to 7.2+.
- Introduced new features to secure downloadable products, read more in Approved download directories.
- WooCommerce Blocks 7.3.0 & 7.4.0 & 7.4.1.
- This is our first release since we merged WooCommerce Admin into the core repository.
Actions and Filters
This release adds three filters.
Filter | Description |
---|---|
woocommerce_download_parse_remote_file_path | Filter the remote filepath for download. |
woocommerce_download_parse_file_path | Filter the filepath for download. |
woocommerce_generate_{$type}_html | Allow the generation of custom field types on the settings screen. |
And four new actions.
Action | Description |
---|---|
woocommerce_order_tracking_form_start | Action hook fired at the beginning of the form-tracking form. |
woocommerce_order_tracking_form | Action hook fired in the middle of the form-tracking form (before the submit button). |
woocommerce_order_tracking_form_end | Action hook fired at the end of the form-tracking form (after the submit button). |
woocommerce_webhook_options | Fires within the webhook editor, after the Webhook Data fields have rendered. This action was introduced a long time ago but now includes a new $webhook attribute. |
And woocommerce_product_csv_importer_check_import_file_path
action was removed, use woocommerce_csv_importer_check_import_file_path
instead.
Database Changes
This release contains two database changes.
- Fixed two typo in
wc_order_operational_data
table. New keys aredownload_permission_granted
andshipping_total_amount
. See #32034 - New
wc_orders_meta
table introduced. See #32034
Note: All WooCommerce Admin database installation routines were moved to core.
Template Changes
There is only one template template change in this release.
Template | Description |
---|---|
templates/order/form-tracking.php | Inclusion of 3 new actions (actions listed above). |
Deprecations
There are no deprecations in this release.
Release Schedule
Version | Release |
Beta | Tuesday, April 19, 2022 |
Release Candidate | Tuesday, April 26, 2022 |
Final Release | Tuesday, May 10, 2022 |
Testing
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.
A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.
If you discover any bugs during the testing process, please let us know by logging a report in GitHub.
Leave a Reply