Merge pull request #10838 from woothemes/issues/10837/fix-data-updater
Fixed fatal error caused by wrong class name to instantiate.
This commit is contained in:
commit
f35d874ede
|
@ -26,7 +26,7 @@ update_option( 'woocommerce_calc_discounts_sequentially', 'yes' );
|
|||
*/
|
||||
$shipping_methods = array(
|
||||
'woocommerce_flat_rates' => new WC_Shipping_Flat_Rate(),
|
||||
'woocommerce_international_delivery_flat_rates' => new WC_Shipping_International_Delivery()
|
||||
'woocommerce_international_delivery_flat_rates' => new WC_Shipping_Legacy_International_Delivery()
|
||||
);
|
||||
foreach ( $shipping_methods as $flat_rate_option_key => $shipping_method ) {
|
||||
// Stop this running more than once if routine is repeated
|
||||
|
|
Loading…
Reference in New Issue