Removed postcode for Bahamas.

Fixes #6223
This commit is contained in:
Mike Jolley 2014-09-11 14:26:22 +01:00
parent 7ae41bb4ed
commit 509c10f7e5
2 changed files with 9 additions and 2 deletions

View File

@ -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' ),

View File

@ -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.