Make City and Postcode mandatory fields for Serbia

As these fields were mandatory for Serbia from the beginning, making them optional by default is causing shop owners additional effort to set them back to mandatory. This PR is making them mandatory by default.

Fixes #28366
This commit is contained in:
Milana Cap 2020-11-25 22:36:44 +01:00 committed by GitHub
parent 97c0a62f7e
commit 5fae30bea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1230,10 +1230,10 @@ class WC_Countries {
),
'RS' => array(
'city' => array(
'required' => false,
'required' => true,
),
'postcode' => array(
'required' => false,
'required' => true,
),
'state' => array(
'label' => __( 'District', 'woocommerce' ),