diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 64f3f43ecb2..15c374b2317 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -560,7 +560,7 @@ class WC_Countries { 'postcode' => '#billing_postcode_field, #shipping_postcode_field', 'city' => '#billing_city_field, #shipping_city_field' ); - + return apply_filters( 'woocommerce_country_locale_field_selectors', $locale_fields ); } @@ -629,6 +629,12 @@ class WC_Countries { 'hidden' => true ), ), + 'BS' => array( + 'postcode' => array( + 'required' => false, + 'hidden' => true + ), + ), 'CA' => array( 'state' => array( 'label' => __( 'Province', 'woocommerce' ), diff --git a/readme.txt b/readme.txt index 01a669c5c46..d619c0067cb 100644 --- a/readme.txt +++ b/readme.txt @@ -134,6 +134,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Fix - Order status translation in admin and account page. * Fix - Ensure shipping address gets displayed - fixes needs_shipping_address() method. * Tweak - Display of locale information on system status page. +* Tweak - Removed postcode for Bahamas. = 2.2.2 - 11/09/2014 = * Fix - Saving of variation stock when parent stock management is disabled. @@ -1005,5 +1006,5 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc == Upgrade Notice == -= 2.2.1 = += 2.2.3 = 2.2 is a major update. Test extensions and your theme prior to updating, ensure extensions are up to date and 2.2 compatible, and ensure that you keep backups. Developers should catch up with [develop.woothemes.com](http://develop.woothemes.com/) to see what has been happening in core.