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:
Claudio Sanches 2016-11-22 17:05:16 -02:00 committed by GitHub
commit a9ba510732
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );
}