WooCommerce 3.5.0

WooCommerce was updated to version 3.5.0, from version 3.4.7. Changelog:

  • Feature – REST API v3.
  • Feature – Option has been added on the inventory tab of the edit product page to set a low stock threshold for individual products.
  • Feature – Add ability to export products by category to the CSV exporter.
  • Feature – Ability to define custom product placeholder images that will resize to correct store aspect ratio.
  • Enhancement – Excluded children categories from WP_Query in product shortcode if cat_operator=AND.
  • Enhancement – Add anchor tag example to email template preview.
  • Enhancement – Introduce is_paypal_supported_currency check in setup wizard.
  • Enhancement – Payment method table reordering accessibility.
  • Enhancement – Log errors from transaction emails with logger.
  • Enhancement – Improved shipping calculator experience. Shows destination country and added context to calculate shipping link.
  • Enhancement – On the fly image generation for frontend, if image sizes are missing.
  • Enhancement – SelectWoo enabled product categories dropdown widget.
  • Enhancement – Make it easier to read and act upon the outdated template notice.
  • Enhancement – Styled date, time, etc. inputs in admin to match styling of other inputs.
  • Enhancement – Show update notices on the System Status page for WordPress.org hosted Official WooCommerce extensions.
  • Enhancement – Better wording for transactional emails.
  • Fix – Check billing email is posted before using in WC_Cart::check_customer_coupons.
  • Fix – Shipping postcode formatting when only posting a billing address.
  • Fix – Correctly show/hide save card checkbox on tokenization form.
  • Fix – orderby and order parameters in WC_Customer_Download_Log_Data_Store::get_download_logs() were ignored.
  • Fix – Unslash city name to prevent double escape in tax settings.
  • Fix – Updated phone validation logic.
  • Fix – Fix weight and dimensions cache of variable products if childs doesn’t have any of those params.
  • Fix – Correctly replace images in the woocommerce_uploads folder with the placeholder image.
  • Fix – Show parent variable product in shipping class admin screen when variation has shipping class.
  • Fix – Correctly excluded administrators from “Customer list” report.
  • Fix – Update quick edit logic to show/hide Stock qty and Backorders fields.
  • Fix – Fix Layered Nav Widget where special HTML entities did not display correctly in the “Any %s” string.
  • Fix – Set the is_checkout javascript parameter on any page that uses the checkout filter or shortcode.
  • Fix – Fix cron_interval property support in WP_Background_Process.
  • Fix – CSS Changes to make text fields line up on the shipping settings page.
  • Fix – Add extra null check to fix an issue with select payment fields using disabed select as placeholders.
  • Fix – Don’t modify attributes orderby when sorting by name.
  • Fix – Allow saving a stock quantity of 0 using quick edit.
  • Fix – Change the query used to save session data to the database to protect against deadlocks.
  • Fix – Make sure default category tooltip is rendered when the image column is deactivated.
  • Fix – Fix warning when using logger instance in woocommerce_logging_class filter.
  • Fix – Use uppercase “ID” when sorting product queries by ID.
  • Fix – Consistently escape the gateway ID in the checkout payment method template.
  • Fix – Avoid treating HTTP 301 and 302 codes as failures for webhooks.
  • Fix – Add address_1 to shipping packages info in WC_Cart:: get_shipping_packages to make it work correctly in address formatting functions.
  • Fix – Don’t fire two of the same action when saving shipping settings.
  • Fix – Remove double condition for address line 2 in WC_Countries::get_default_address_fields.
  • Fix – Correctly handle shorthand values for memory_limit in php.ini.
  • Fix – Product shortcode numeric term slug matching.
  • Fix – Remove the erasure tools links from the descriptions of the erasure settings for users without the manage_privacy_options capability.
  • Fix – Don’t double urldecode posted variation attributes.
  • Fix – Don’t double-sanitize cart images.
  • Fix – Check if ID exists and is not empty before set Product’s download ID in API.
  • Fix – Ensure wp_list_pluck() gets a array and not possibly null in WC_Product_Data_Store_CPT::update_attributes.
  • Fix – Trim CSV header rows to prevent leading/trailing whitespace issues.
  • Fix – Show draft products in previews on unsupported themes.
  • Fix/Tweak – Fire woocommerce_grant_product_download_access hook after the download has its ID set.
  • Fix/Tweak/Performance – Change wp_woocommerce_sessions primary key to session_id.
  • Tweak – Show empty terms in admin product category filter dropdown.
  • Tweak – Don’t force default token gateway active by default.
  • Tweak – Move notice output to hooked in functions.
  • Tweak – Apply order bulk actions in chronological order.
  • Tweak – Updated Emogrifier to 2.0.
  • Tweak – Avoid using wp.template (eval) in add-to-cart-variation.js.
  • Tweak – Hide Preview button when creating new products, as most fields aren’t set up for it.
  • Tweak – For guests, store all address fields to the session whilst placing an order.
  • Tweak – Removed ‘ajax_add_to_cart’ class from ‘Read more’ button.
  • Tweak – Removed unnecessary checkout form change trigger on load of the checkout page.
  • Tweak – Add image size filters to wc_get_product_attachment_props().
  • Tweak – Only display the current site’s tables for a multisite install when viewing the system status.
  • Tweak – include the file path and line number where a fatal error occurred in the fatal errors log.
  • Tweak – Cast tax rate to float so that it can be treated as number further on in the code.
  • Tweak – Send webhooks using Action Scheduler.
  • Tweak – Update customer’s ip address on successful payment.
  • Tweak – Changed wc_clean to checking for valid utf8 for line items and password.
  • Tweak – Add to cart notice actions (View cart/Continue shopping) now have tabindex 1 for improved accessibility.
  • Tweak – Remove icanhazip from geolocation services.
  • Tweak – Remove unnecessary aria-required attributes from product reviews template.
  • Tweak – Added hidden label for screen readers on checkout address line 2 input.
  • Tweak – Remove empty space in mini-cart template.
  • Tweak – Tax display in cart now depends on whether customer is tax exempt.
  • Tweak – Change sort dropdown option “Sort by newness” to “Sort by latest”.
  • Tweak – Sanitize endpoint slugs upon saving.
  • Tweak – Ignore converting float meta value for registered post meta.
  • Tweak – Remove ‘order_again’ query string to avoid multiple re-orders.
  • Tweak – Remove Netherlands Antilles from the North America continent definitions.
  • Tweak – Display label and meta on the same line in order emails to match frontend Order Details styling.
  • Tweak – Use wp_get_upload_dir for geolite DB path.
  • Performance/Tweak – Use post_author for the order customer instead of ‘_customer_user’ meta data.
  • Performance – Exclude frontend include from REST API calls.
  • Performance – Improve performance of the query to delete version transients by removing unneeded “ORDER BY”.
  • Dev – REST API – Allows oAuth1.0a authentication under SSL.
    Dev – REST API – Fix position param for images.
  • Dev – REST API – Handle children products deletion regardless of type.
  • Dev – Added woocommerce_increase_coupon_usage_count and woocommerce_decrease_coupon_usage_count action hooks to increase extensibility of Coupons.
  • Dev – Add endpoints to account menu items filter.
  • Dev – Added qty param to wc_add_to_cart_message filter.
  • Dev – Added woocommerce_search_products_ids filter.
  • Dev – Introduced woocommerce_cart_calculate_shipping_address field to allow manipulation of cart shipping calculator data.
  • Dev – Introduced woocommerce_shipping_calculator_enable_country filter.
  • Dev – Pass product id to backorder notification.
  • Dev – Added woocommerce_cart_shipping_total filter to control shipping display.
  • Dev – Refactor “Order again” handling to separate logic better.
  • Dev – Added ‘woocommerce_products_admin_list_table_filters’ filter to make it easier to customize the products list table filters.
  • Dev – Added woocommerce_shipping_method_add_rate_args and woocommerce_shipping_method_add_rate filters.
  • Dev – Added woocommerce_coupon_validate_user_usage_limit filter.
  • Dev – Add hooks needed for product custom tables feature plugin.
  • Dev – Added new filter to ‘Item in quotes’ translation for messages.
  • Dev – Add ‘woocommerce_shutdown_error’ hook triggered on request termination with an error.
  • Dev – New filter ‘woocommerce_admin_meta_boxes_variations_count’ to customize the shown count of variations.
  • Dev – Added ability to query products that have a field set in wc_get_products/WC_Product_Query using the wildcard symbol ‘*’.
  • Dev – Added a JavaScript events before and after the order total recalculation on the Edit Order page.
  • Dev – Check for needs_payment instead of has_status( ‘pending’ ) in PayPal PDT handler for custom order status support.
  • Dev – Added form action hooks for edit account and login templates.
  • Dev – Add action for when system tools are run.
  • Dev – Add – woocommerce_restock_refunded_items filter to control default state of the restock option when refunding items on an order.
  • Dev – Add an extensible/swappable job queue via WC_Action_Queue and WC_Queue_Interface.
  • Dev – Use WC_Action_Queue for schedule and delivery of webhooks.
  • Dev – Include Action Scheduler v2.1.0 and use it for the default job queue.
  • Dev – Save reviews under the ‘review’ comment type.
  • Localization – Updated IT provinces.
  • Localization – Eircode validation.
  • Localization – Disable postcode requirement for Bahrain.
  • Localization – Make postcode field optional and hidden for Nigeria and label State.
  • Localization – Make Romania state selection mandatory.
  • Localization – Make city field optional and hidden for Singapore addresses.

Posted

in

by