From f5fdd59209605e426b4becf321990032f1006347 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 11 Apr 2017 19:10:01 +0100 Subject: [PATCH] More states Fixes #14270 --- includes/class-wc-countries.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 5121f24baf0..e38f11d8a2e 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -797,6 +797,16 @@ class WC_Countries { 'required' => false, ), ), + 'GP' => array( + 'state' => array( + 'required' => false, + ), + ), + 'GF' => array( + 'state' => array( + 'required' => false, + ), + ), 'HK' => array( 'postcode' => array( 'required' => false, @@ -871,6 +881,16 @@ class WC_Countries { 'required' => false, ), ), + 'LB' => array( + 'state' => array( + 'required' => false, + ), + ), + 'MQ' => array( + 'state' => array( + 'required' => false, + ), + ), 'NL' => array( 'postcode' => array( 'priority' => 65, @@ -918,6 +938,11 @@ class WC_Countries { 'required' => false, ), ), + 'RE' => array( + 'state' => array( + 'required' => false, + ), + ), 'RO' => array( 'state' => array( 'required' => false, @@ -1019,6 +1044,11 @@ class WC_Countries { 'hidden' => true, ), ), + 'YT' => array( + 'state' => array( + 'required' => false, + ), + ), 'ZA' => array( 'state' => array( 'label' => __( 'Province', 'woocommerce' ),