From 79942691ec58188d4d0737e20c937499c92fc6f6 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 1 Oct 2013 10:12:12 +0100 Subject: [PATCH] Init no longer needed - settings API refreshes settings Closes #3858 --- includes/admin/settings/class-wc-settings-shipping.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/admin/settings/class-wc-settings-shipping.php b/includes/admin/settings/class-wc-settings-shipping.php index 7b782d6c605..480c69a77a4 100644 --- a/includes/admin/settings/class-wc-settings-shipping.php +++ b/includes/admin/settings/class-wc-settings-shipping.php @@ -266,8 +266,6 @@ class WC_Settings_Shipping extends WC_Settings_Page { $current_section_class = new $current_section(); do_action( 'woocommerce_update_options_' . $this->id . '_' . $current_section_class->id ); - - WC()->shipping()->init(); } } }