Commit 58603fa1180 for woocommerce
commit 58603fa118031c06e05a902be38a110ce4808b00
Author: Michal Iwanow <4765119+mcliwanow@users.noreply.github.com>
Date: Thu Apr 30 11:28:19 2026 +0200
Fix site_not_connected installer error code typo (#64180)
* Fix site_not_connected error code typo
* Add changelog entry for site_not_connected typo fix
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Herman <KokkieH@users.noreply.github.com>
diff --git a/plugins/woocommerce/changelog/wccom-2349-site-not-connected-typo b/plugins/woocommerce/changelog/wccom-2349-site-not-connected-typo
new file mode 100644
index 00000000000..1227d595a41
--- /dev/null
+++ b/plugins/woocommerce/changelog/wccom-2349-site-not-connected-typo
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix a typo in the `site_not_connected` installer error code (previously emitted as `site_not_connnected`). WooCommerce.com continues to accept both spellings, so existing sites are unaffected.
diff --git a/plugins/woocommerce/includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error-codes.php b/plugins/woocommerce/includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error-codes.php
index 372f37e15dc..9e970af7b65 100644
--- a/plugins/woocommerce/includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error-codes.php
+++ b/plugins/woocommerce/includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error-codes.php
@@ -18,7 +18,7 @@ class WC_REST_WCCOM_Site_Installer_Error_Codes {
const NOT_AUTHENTICATED = 'not_authenticated';
const NO_ACCESS_TOKEN = 'no_access_token';
const NO_SIGNATURE = 'no_signature';
- const SITE_NOT_CONNECTED = 'site_not_connnected';
+ const SITE_NOT_CONNECTED = 'site_not_connected';
const INVALID_TOKEN = 'invalid_token';
const REQUEST_VERIFICATION_FAILED = 'request_verification_failed';
const USER_NOT_FOUND = 'user_not_found';