cf240d96a3
PHP's empty() function returns true for 0, 0.00, "0.00" and other 0 variants. That means woocommerce_process_shop_order_meta() will convert item meta with a 0.00 or similar value to an empty string, which can break things that expect a float or number. This commit fixes that. |
||
---|---|---|
.. | ||
writepanels | ||
product.php | ||
shop_coupon.php | ||
shop_order.php |