Note that legacy methods are no longer available once disabled

This commit is contained in:
Mike Jolley 2016-01-08 12:01:01 +00:00
parent cef3ec7e37
commit 7cfdf23aec
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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