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:
Mike Jolley 2016-05-03 11:55:18 +01:00
commit f35d874ede
1 changed files with 1 additions and 1 deletions

View File

@ -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