From 90e93e1ebafe6db82d08982a40bf660a254bc125 Mon Sep 17 00:00:00 2001 From: Justin Shreve Date: Tue, 22 Nov 2016 10:52:58 -0800 Subject: [PATCH] Set a blank default name when displaying the shipping zone form, so the placeholder will be used instead. --- includes/admin/settings/class-wc-settings-shipping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/settings/class-wc-settings-shipping.php b/includes/admin/settings/class-wc-settings-shipping.php index 2ad44230293..e088989bcf3 100644 --- a/includes/admin/settings/class-wc-settings-shipping.php +++ b/includes/admin/settings/class-wc-settings-shipping.php @@ -206,7 +206,7 @@ class WC_Settings_Shipping extends WC_Settings_Page { protected function zone_methods_screen( $zone_id ) { if ( 'new' === $zone_id ) { $zone = new WC_Shipping_Zone(); - $zone->set_zone_name( __( 'New zone', 'woocommerce' ) ); + $zone->set_zone_name( '' ); } else { $zone = WC_Shipping_Zones::get_zone( absint( $zone_id ) ); }