From 7cfdf23aecba94e023ec80313a66272724f381f1 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 8 Jan 2016 12:01:01 +0000 Subject: [PATCH] Note that legacy methods are no longer available once disabled --- .../shipping/legacy-flat-rate/includes/settings-flat-rate.php | 2 +- .../class-wc-shipping-legacy-free-shipping.php | 2 +- .../class-wc-shipping-legacy-local-delivery.php | 2 +- .../class-wc-shipping-legacy-local-pickup.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php b/includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php index 83df03fa051..a5ee38a0542 100644 --- a/includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php +++ b/includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php @@ -13,7 +13,7 @@ $settings = array( 'enabled' => array( 'title' => __( 'Enable/Disable', 'woocommerce' ), 'type' => 'checkbox', - 'label' => __( 'Enable this shipping method', 'woocommerce' ), + 'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ), 'default' => 'no', ), 'title' => array( diff --git a/includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php b/includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php index 9a8ff14daac..15f9cbca7de 100644 --- a/includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php +++ b/includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php @@ -70,7 +70,7 @@ class WC_Shipping_Legacy_Free_Shipping extends WC_Shipping_Method { 'enabled' => array( 'title' => __( 'Enable/Disable', 'woocommerce' ), 'type' => 'checkbox', - 'label' => __( 'Enable Free Shipping', 'woocommerce' ), + 'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ), 'default' => 'no' ), 'title' => array( diff --git a/includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php b/includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php index 48fdf8f9bae..d9bd2075b1f 100644 --- a/includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php +++ b/includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php @@ -97,7 +97,7 @@ class WC_Shipping_Legacy_Local_Delivery extends WC_Shipping_Local_Pickup { 'enabled' => array( 'title' => __( 'Enable', 'woocommerce' ), 'type' => 'checkbox', - 'label' => __( 'Enable local delivery', 'woocommerce' ), + 'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ), 'default' => 'no' ), 'title' => array( diff --git a/includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php b/includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php index 6905e660397..11580f9b2ba 100644 --- a/includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php +++ b/includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php @@ -74,7 +74,7 @@ class WC_Shipping_Legacy_Local_Pickup extends WC_Shipping_Method { 'enabled' => array( 'title' => __( 'Enable', 'woocommerce' ), 'type' => 'checkbox', - 'label' => __( 'Enable local pickup', 'woocommerce' ), + 'label' => __( 'Once disabled, this legacy method will no longer be available.', 'woocommerce' ), 'default' => 'no' ), 'title' => array(