Fix Puerto Rico State Checkout Error

This commit is contained in:
Jay Williams 2021-12-16 13:15:28 -06:00
parent e3e86872cb
commit fde1b42d5b
2 changed files with 1 additions and 3 deletions

View File

@ -1461,7 +1461,6 @@ return array(
'SD' => __( 'Sindh', 'woocommerce' ),
),
'PL' => array(),
'PR' => array(),
'PT' => array(),
'PY' => array( // Paraguay states.
'PY-ASU' => __( 'Asunción', 'woocommerce' ),

View File

@ -1314,8 +1314,7 @@ class WC_Countries {
'label' => __( 'Municipality', 'woocommerce' ),
),
'state' => array(
'required' => false,
'hidden' => true,
'required' => true,
),
),
'PT' => array(