Fixed fatal error caused by wrong class name to instantiate.
Class WC_Shipping_International_Delivery got renamed to
WC_Shipping_Legacy_International_Delivery per 119f19a
.
Fixes #10837.
This commit is contained in:
parent
ad3f9d0754
commit
098bc57947
|
@ -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