Merge pull request #21018 from Luminus/fix-21016

Make city field optional and hidden for Singapore addresses
This commit is contained in:
Rodrigo Primo 2018-08-14 10:31:27 -03:00 committed by GitHub
commit a637fe10b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1058,6 +1058,10 @@ class WC_Countries {
'state' => array(
'required' => false,
),
'city' => array(
'required' => false,
'hidden' => true,
),
),
'SK' => array(
'postcode' => array(