Notas da versão 2.9.6: 1 melhoria 4 correções
Melhoria
- Tested up to WooCommerce 11.2.0.
Correção
- "Undefined array key" warnings in cart_shipping_packages when WooCommerce Multilingual translates the cart after a language switch, or whenever child items change keys or leave the cart during a request. Child items were left out of the container's shipping weight and value for that calculation. wc_mnm_get_child_cart_items and wc_mnm_get_cart_item_container no longer cache their results, so they always reflect the current cart contents.
- Container cart validation could miss child items that were removed from the cart earlier in the same request.
- Remove debugging output from the "Some items you have selected are no longer available" notice.
- Fatal error after updating from 2.9.4 or earlier when PHP OPcache still held the old autoloader, which pointed to the Not Sold Separately feature's previous location in includes/features/not-sold-separately/. Stub files at the old paths now load the classes from src/Features/NotSoldSeparately/.