Merge pull request #23430 from dimadin/rs/no-states

Do not use state for Serbia
This commit is contained in:
Gerhard Potgieter 2019-05-10 10:18:11 +02:00 committed by GitHub
commit 5c630271c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -1077,6 +1077,7 @@ return array(
'VS' => __( 'Vaslui', 'woocommerce' ),
'VN' => __( 'Vrancea', 'woocommerce' ),
),
'RS' => array(),
'SG' => array(),
'SK' => array(),
'SI' => array(),

View File

@ -1103,6 +1103,12 @@ class WC_Countries {
'required' => true,
),
),
'RS' => array(
'state' => array(
'required' => false,
'hidden' => true,
),
),
'SG' => array(
'state' => array(
'required' => false,