WooCommerce 3.0.7

WooCommerce was updated to version 3.0.7, from version 3.0.5. Changelogs:


  • Fix – Display of grouped product permalinks + names.
  • Fix – Ensure wc_get_payment_gateway_by_order has a valid order ID to avoid errors.
  • Fix – Ensure get_plugin_updates exists in API.
  • Fix – Correctly set rating term after updating product visibility.
  • Fix – is_ip_address should be static.
  • Fix – Handle clearing for 3, 4, and 5 columns in the product gallery.
  • Fix – Some added protection against notices/errors in the assets and variation data-store files.
  • Fix – If backorders are enabled, do not make variable products out of stock.
  • Fix – Undefined function in class-wc-embed.php.
  • Fix – Fix ‘base location’ not being returned via the settings API.
  • Fix – When re-filling fields on checkout, only change the empty ones to avoid conflicts with gateway plugins and hidden fields.
  • Fix – Make calculate tax function clear taxes if taxes are disabled on recalculation.
  • Fix – Update all customer session address fields when updating via checkout.
  • Fix – Support customer searches < 3 characters long, but with result limiting.


  • Fix – Fixed conflict between global attributes and custom attributes with the same names.
  • Fix – Added missing “id” to API for shipping zone methods to support the CLI.
  • Fix – Incorrect use of wc_format_price_range in get_price_html_from_to.
  • Fix – Clone each meta object when cloning WC_Data object to avoid modifying original meta stdClass objects.
  • Fix – Fix non numeric warning for some order data.
  • Fix – Fixed a warning when no customer country is defined for state input.
  • Fix – Use term name when reordering so correct data is passed to the new order.
  • Fix – Formatting issues in wc_display_item_meta.
  • Fix – Check if IP address is valid in IP address detection code.
  • Fix – wc_attribute_taxonomy_id_by_name should use wc_sanitize_taxonomy_name to prevent breaking special chars.
  • Fix – Correct variable name in order structured data.
  • Fix – Prepend new item keys with $items_key to make them unique.
  • Fix – Hide offers from structured markup when blank.
  • Fix – Fixed “Process to checkout” button color in Twenty seventeen dark theme.
  • Fix – Only set reply-to if the email + name is set.
  • Fix – Correctly exclude terms in wc_get_related_products.
  • Fix – Reset post data prevents grouped products working in shortcodes.
  • Fix – Fix min price range comparisons.
  • Fix – Properly save order items in legacy REST API.
  • Fix – Use correct full size for variation images.
  • Fix – Add noscript style for gallery.
  • Fix – Fix/duplicate potential stock reduction with paypal.
  • Tweak – Improve _wc_term_recount performance.
  • Tweak – Improve plugin update detection in system status report to reduce timeouts.
  • Tweak – Improve “Save Order” button to reproduce WordPress post/page behavior.
  • Tweak – Added zipcode validation for France.
  • Dev – Added woocommerce_shop_order_search_results filter.