Merge pull request #12442 from woocommerce/shipping-zone-placeholder
Use placeholder in new shipping zone UI instead of default string
This commit is contained in:
commit
a9ba510732
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue