Hide state selector from Ethiopia and Rwanda addresses (#35481)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
This commit is contained in:
parent
4688290463
commit
eccff559a5
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Hide state selector for Ethiopia and Rwanda addresses
|
|
@ -603,6 +603,7 @@ return array(
|
||||||
'ZA' => __( 'Zamora', 'woocommerce' ),
|
'ZA' => __( 'Zamora', 'woocommerce' ),
|
||||||
'Z' => __( 'Zaragoza', 'woocommerce' ),
|
'Z' => __( 'Zaragoza', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
|
'ET' => array(),
|
||||||
'FI' => array(),
|
'FI' => array(),
|
||||||
'FR' => array(),
|
'FR' => array(),
|
||||||
'GF' => array(),
|
'GF' => array(),
|
||||||
|
@ -1807,6 +1808,7 @@ return array(
|
||||||
'RSKM' => _x( 'Kosovo-Metohija', 'district', 'woocommerce' ),
|
'RSKM' => _x( 'Kosovo-Metohija', 'district', 'woocommerce' ),
|
||||||
'RSVO' => _x( 'Vojvodina', 'district', 'woocommerce' ),
|
'RSVO' => _x( 'Vojvodina', 'district', 'woocommerce' ),
|
||||||
),
|
),
|
||||||
|
'RW' => array(),
|
||||||
'SE' => array(),
|
'SE' => array(),
|
||||||
'UA' => array( // Ukrainian oblasts. https://github.com/unicode-org/cldr/blob/release-42/common/subdivisions/en.xml#L5243.
|
'UA' => array( // Ukrainian oblasts. https://github.com/unicode-org/cldr/blob/release-42/common/subdivisions/en.xml#L5243.
|
||||||
'UA05' => __( 'Vinnychchyna', 'woocommerce' ),
|
'UA05' => __( 'Vinnychchyna', 'woocommerce' ),
|
||||||
|
|
|
@ -1024,6 +1024,12 @@ class WC_Countries {
|
||||||
'hidden' => true,
|
'hidden' => true,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'ET' => array(
|
||||||
|
'state' => array(
|
||||||
|
'required' => false,
|
||||||
|
'hidden' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
'FI' => array(
|
'FI' => array(
|
||||||
'postcode' => array(
|
'postcode' => array(
|
||||||
'priority' => 65,
|
'priority' => 65,
|
||||||
|
@ -1393,6 +1399,12 @@ class WC_Countries {
|
||||||
'required' => false,
|
'required' => false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
'RW' => array(
|
||||||
|
'state' => array(
|
||||||
|
'required' => false,
|
||||||
|
'hidden' => true,
|
||||||
|
),
|
||||||
|
),
|
||||||
'SG' => array(
|
'SG' => array(
|
||||||
'state' => array(
|
'state' => array(
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
|
Loading…
Reference in New Issue