Commit 2ff0a73f6a1 for woocommerce
commit 2ff0a73f6a1cf57ff39a53403aa1532addd3ca59
Author: Faraz S. A. <345765971+FSA-G@users.noreply.github.com>
Date: Tue Dec 1 01:03:43 2026 +0700
Philippines: add Maguindanao del Norte and Maguindanao del Sur (#71581)
* Philippines: rename Compostela Valley to Davao de Oro, add Maguindanao del Norte and del Sur
* Drop the Compostela Valley rename and the onboarding test changes
diff --git a/plugins/woocommerce/changelog/update-ph-provinces b/plugins/woocommerce/changelog/update-ph-provinces
new file mode 100644
index 00000000000..c316dd75fd6
--- /dev/null
+++ b/plugins/woocommerce/changelog/update-ph-provinces
@@ -0,0 +1,4 @@
+Significance: patch
+Type: update
+
+Philippines: add Maguindanao del Norte and Maguindanao del Sur.
diff --git a/plugins/woocommerce/i18n/states.php b/plugins/woocommerce/i18n/states.php
index 15d491ea576..5d87b765621 100644
--- a/plugins/woocommerce/i18n/states.php
+++ b/plugins/woocommerce/i18n/states.php
@@ -1562,6 +1562,8 @@ return array(
'LAS' => __( 'Lanao del Sur', 'woocommerce' ),
'LEY' => __( 'Leyte', 'woocommerce' ),
'MAG' => __( 'Maguindanao', 'woocommerce' ),
+ 'MGN' => __( 'Maguindanao del Norte', 'woocommerce' ),
+ 'MGS' => __( 'Maguindanao del Sur', 'woocommerce' ),
'MAD' => __( 'Marinduque', 'woocommerce' ),
'MAS' => __( 'Masbate', 'woocommerce' ),
'MSC' => __( 'Misamis Occidental', 'woocommerce' ),
diff --git a/plugins/woocommerce/tests/e2e/data/countries/ph.json b/plugins/woocommerce/tests/e2e/data/countries/ph.json
index 94e9b419d30..607759475cd 100644
--- a/plugins/woocommerce/tests/e2e/data/countries/ph.json
+++ b/plugins/woocommerce/tests/e2e/data/countries/ph.json
@@ -186,6 +186,14 @@
"code": "MAG",
"name": "Maguindanao"
},
+ {
+ "code": "MGN",
+ "name": "Maguindanao del Norte"
+ },
+ {
+ "code": "MGS",
+ "name": "Maguindanao del Sur"
+ },
{
"code": "MAD",
"name": "Marinduque"
diff --git a/plugins/woocommerce/tests/e2e/data/settings.ts b/plugins/woocommerce/tests/e2e/data/settings.ts
index e08a1870456..e0ee7c00a22 100644
--- a/plugins/woocommerce/tests/e2e/data/settings.ts
+++ b/plugins/woocommerce/tests/e2e/data/settings.ts
@@ -1796,6 +1796,8 @@ export const stateOptions = {
'PH:LAS': 'Philippines - Lanao del Sur',
'PH:LEY': 'Philippines - Leyte',
'PH:MAG': 'Philippines - Maguindanao',
+ 'PH:MGN': 'Philippines - Maguindanao del Norte',
+ 'PH:MGS': 'Philippines - Maguindanao del Sur',
'PH:MAD': 'Philippines - Marinduque',
'PH:MAS': 'Philippines - Masbate',
'PH:MSC': 'Philippines - Misamis Occidental',