Skip to content

Commit c56bf68

Browse files
committed
Add Curaçao to the country code conversions
1 parent 3122413 commit c56bf68

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wc-plugin-framework",
3-
"version": "4.5.1",
3+
"version": "4.5.2",
44
"title": "WooCommerce Plugin Framework",
55
"author": "SkyVerge Team",
66
"homepage": "https://github.com/skyverge/wc-plugin-framework#readme",

woocommerce/changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
*** SkyVerge WooCommerce Plugin Framework Changelog ***
22

3+
2017.01.06 - version 4.5.2
4+
* Fix - Include Curaçao when converting country codes
5+
36
2016.11.18 - version 4.5.1
47
* Fix - Prevent a potential fatal error for plugins not using the latest JSON/XML request classes
58

woocommerce/class-sv-wc-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ public static function convert_country_code( $code ) {
904904
'PR' => 'PRI', 'AS' => 'ASM', 'UM' => 'UMI', 'GU' => 'GUM', 'VI' => 'VIR',
905905
'HK' => 'HKG', 'MO' => 'MAC', 'FO' => 'FRO', 'GL' => 'GRL', 'GF' => 'GUF',
906906
'MQ' => 'MTQ', 'RE' => 'REU', 'AX' => 'ALA', 'AW' => 'ABW', 'AN' => 'ANT',
907-
'SJ' => 'SJM', 'AC' => 'ASC', 'TA' => 'TAA', 'AQ' => 'ATA',
907+
'SJ' => 'SJM', 'AC' => 'ASC', 'TA' => 'TAA', 'AQ' => 'ATA', 'CW' => 'CUW',
908908
);
909909

910910
if ( 3 === strlen( $code ) ) {

woocommerce/class-sv-wc-plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
* plugin. This class handles all the "non-feature" support tasks such
3535
* as verifying dependencies are met, loading the text domain, etc.
3636
*
37-
* @version 4.5.1
37+
* @version 4.5.2
3838
*/
3939
abstract class SV_WC_Plugin {
4040

4141

4242
/** Plugin Framework Version */
43-
const VERSION = '4.5.1';
43+
const VERSION = '4.5.2';
4444

4545
/** @var object single instance of plugin */
4646
protected static $instance;

0 commit comments

Comments
 (0)