From 7e2e79551006e231cfb55def42550a148e422025 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 7 Mar 2013 11:01:06 +0000 Subject: [PATCH] W Samoa --- classes/class-wc-countries.php | 8 +++++++- readme.txt | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/classes/class-wc-countries.php b/classes/class-wc-countries.php index 18cb2761213..243b837c705 100644 --- a/classes/class-wc-countries.php +++ b/classes/class-wc-countries.php @@ -222,7 +222,6 @@ class WC_Countries { 'SX' => __( 'Saint Martin (Dutch part)', 'woocommerce' ), 'PM' => __( 'Saint Pierre and Miquelon', 'woocommerce' ), 'VC' => __( 'Saint Vincent and the Grenadines', 'woocommerce' ), - 'WS' => __( 'Samoa', 'woocommerce' ), 'SM' => __( 'San Marino', 'woocommerce' ), 'ST' => __( 'São Tomé and Príncipe', 'woocommerce' ), 'SA' => __( 'Saudi Arabia', 'woocommerce' ), @@ -275,6 +274,7 @@ class WC_Countries { 'VN' => __( 'Vietnam', 'woocommerce' ), 'WF' => __( 'Wallis and Futuna', 'woocommerce' ), 'EH' => __( 'Western Sahara', 'woocommerce' ), + 'WS' => __( 'Western Samoa', 'woocommerce' ), 'YE' => __( 'Yemen', 'woocommerce' ), 'ZM' => __( 'Zambia', 'woocommerce' ), 'ZW' => __( 'Zimbabwe', 'woocommerce' ) @@ -902,6 +902,12 @@ class WC_Countries { 'hidden' => true ) ), + 'WS' => array( + 'postcode' => array( + 'required' => false, + 'hidden' => true + ), + ), 'ZA' => array( 'state' => array( 'label' => __( 'Province', 'woocommerce' ), diff --git a/readme.txt b/readme.txt index ce239f2a644..e4bebf1d987 100644 --- a/readme.txt +++ b/readme.txt @@ -165,6 +165,9 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc == Changelog == += X = +* Fix Samoa -> Western Samoa + = 2.0.2 - 06/03/2013 = * Fix - Frontpage shop when 'orderby' is set. * Fix - Fix add-to-cart for grouped products which are sold individually.