From 1a7955d8f5d1b5f239d07af53d873590b9328e7c Mon Sep 17 00:00:00 2001 From: Ewout Fernhout Date: Thu, 11 Jul 2019 15:56:28 +0200 Subject: [PATCH] default tax rate percent to null --- includes/class-wc-order-item-tax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-order-item-tax.php b/includes/class-wc-order-item-tax.php index 38f2761abc9..e1fa89eb756 100644 --- a/includes/class-wc-order-item-tax.php +++ b/includes/class-wc-order-item-tax.php @@ -27,7 +27,7 @@ class WC_Order_Item_Tax extends WC_Order_Item { 'compound' => false, 'tax_total' => 0, 'shipping_tax_total' => 0, - 'rate_percent' => 0.0, + 'rate_percent' => null, ); /*