Enable states in Hungary
The states file for Hungary is in the project for some time now, this commit enables the use of it.
This commit is contained in:
parent
d302251d3f
commit
0b92287bd4
|
@ -291,7 +291,6 @@ class WC_Countries {
|
||||||
'DK' => array(),
|
'DK' => array(),
|
||||||
'FI' => array(),
|
'FI' => array(),
|
||||||
'FR' => array(),
|
'FR' => array(),
|
||||||
'HU' => array(),
|
|
||||||
'IS' => array(),
|
'IS' => array(),
|
||||||
'IL' => array(),
|
'IL' => array(),
|
||||||
'JP' => array(),
|
'JP' => array(),
|
||||||
|
|
|
@ -157,6 +157,13 @@ class WC_Install {
|
||||||
update_option( 'woocommerce_db_version', '2.0.9' );
|
update_option( 'woocommerce_db_version', '2.0.9' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( version_compare( $current_db_version, '2.0.14', '<' ) ) {
|
||||||
|
if ( 'HU' == get_option( 'woocommerce_default_country' ) )
|
||||||
|
update_option( 'woocommerce_default_country', 'HU:BU' );
|
||||||
|
|
||||||
|
update_option( 'woocommerce_db_version', '2.0.14' );
|
||||||
|
}
|
||||||
|
|
||||||
if ( version_compare( $current_db_version, '2.1.0', '<' ) ) {
|
if ( version_compare( $current_db_version, '2.1.0', '<' ) ) {
|
||||||
include( 'updates/woocommerce-update-2.1.php' );
|
include( 'updates/woocommerce-update-2.1.php' );
|
||||||
update_option( 'woocommerce_db_version', '2.1.0' );
|
update_option( 'woocommerce_db_version', '2.1.0' );
|
||||||
|
|
|
@ -207,7 +207,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
||||||
* Localization - Japanese translation by Shohei Tanaka.
|
* Localization - Japanese translation by Shohei Tanaka.
|
||||||
* Localization - Danish translation by Mikael Lyngvig.
|
* Localization - Danish translation by Mikael Lyngvig.
|
||||||
* Localization - Spanish translation by Luis Giménez.
|
* Localization - Spanish translation by Luis Giménez.
|
||||||
* Localization - French, Spanish, Romanian, Danish, Korean, Czech, Arabic updates.
|
* Localization - French, Spanish, Romanian, Danish, Korean, Czech, Arabic, Hungarian updates.
|
||||||
|
|
||||||
= 2.0.13 - 19/07/2013 =
|
= 2.0.13 - 19/07/2013 =
|
||||||
* Tweak - Allow users with edit rights to add draft products to cart (and nobody else)
|
* Tweak - Allow users with edit rights to add draft products to cart (and nobody else)
|
||||||
|
|
Loading…
Reference in New Issue