From cd01218ee9cba2c7653072c463dbfb7ede324fbf Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 11 May 2016 11:10:25 +0100 Subject: [PATCH] this is a legacy update --- includes/updates/woocommerce-update-2.4.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/updates/woocommerce-update-2.4.php b/includes/updates/woocommerce-update-2.4.php index 566ba46687a..6ae16b31ca0 100644 --- a/includes/updates/woocommerce-update-2.4.php +++ b/includes/updates/woocommerce-update-2.4.php @@ -25,7 +25,7 @@ update_option( 'woocommerce_calc_discounts_sequentially', 'yes' ); * Update legacy options to new math based options. */ $shipping_methods = array( - 'woocommerce_flat_rates' => new WC_Shipping_Flat_Rate(), + 'woocommerce_flat_rates' => new WC_Shipping_Legacy_Flat_Rate(), 'woocommerce_international_delivery_flat_rates' => new WC_Shipping_Legacy_International_Delivery() ); foreach ( $shipping_methods as $flat_rate_option_key => $shipping_method ) {