Woocomerce 4.6 is released: What you need to know

Here we’ll take a look at all the new and updated features in version 4.6 from the Woocommerce Devs.

Tweaks, Fixes, Development, & Localization

Tweaks

  1. Tweak – Removed the “Features” settings page now that the WooCommerce Admin dashboard is enabled by default. #27047
  2. Tweak – Deprecate old setup wizard. #26853
  3. Tweak – Add WC pages when the plugin is activated now that the old setup wizard was deprecated. #26853

Fixes

  1. Fix – When adding a grouped product to the cart, quantity is passed through the woocommerce_stock_amount filter like it’s done for simple and variable products. #27219
  2. Fix – Several style improvements to notices in theme Twenty Twenty. #27387
  3. Fix – Fixed countries list sorting and added support to PHP internationalization functions. #27416
  4. Fix – Remove “There are no notes yet” after adding the first one by AJAX. #27449
  5. Fix – Fix PHP docblock summary to properly reflect the role of wc_get_coupon_id_by_code function. #27453
  6. Fix – Fix white space character in add-to-cart script. #27459
  7. Fix – Adding missing css property to email templates to ensure header background color is less likely to be overridden by email client. #27525
  8. Fix – Encapsulate scope of c variable to avoid polluting the global scope and potentially causing problems if other plugins use the same variable name. #27610
  9. Fix – Fix bug when using tax classes with some non-ASCII characters. #27615
  10. Fix – Paypal gateway: protect code against a fatal error if WooCommerce is unable to communicate with PayPal. #27616
  11. Fix – Added WP environment type to tracker. #27685
  12. Fix – Prevent fatal errors when trying to determine what is the product type taxonomy term. #27441
  13. Fix – Typo in the error message shown in the customizer. #27008

Development

  1. Dev – Introduced woocommerce_return_to_shop_text filter. #25419
  2. Dev – Introduced woocommerce_cart_item_required_stock_is_not_enough filter. #26196
  3. Dev – Changed relative include paths to absolute include paths using __DIR__. #27433
  4. Dev – Fixed duplicated use of woocommerce_add_$notice_type. #27437
  5. Dev – Allow public access to core capabilities for other plugins. #26976
  6. Dev – Add woocommerce_should_send_no_stock_notification filter. #27634
  7. Dev – New action ‘woocommerce_after_order_details’ added in a order-details.php template. #26327
  8. Dev – Fix and improve documentation of wc_string_to_bool and wc_bool_to_string. #27662

Localization

  1. Localization – Remove duplicated entry for Cyprus when listing countries by continent. #27636
  2. Localization – Add Egypt regions. #27495
  3. Localization – Updated name for the Hungarian county called Csongrád-Csanád. #27075
  4. Localization – Adding states for Benin country. #27217
  5. Localization – Add KR locale info. #27496
  6. Localization – Fixed the name of the Spain state of Biscay. #27548
    WooCommerce Admin – 1.6.1