Commit 11166ac9948 for woocommerce
commit 11166ac99480eec672a252b502bdf0b9882bb243
Author: Asim Sulehria <de.asimhabib@gmail.com>
Date: Wed Apr 29 00:10:07 2026 +0500
Fix typos in inline comments (recieved -> received, bellow -> below) (#64433)
* Fix typos in inline comments (recieved -> received, bellow -> below)
* Add changelog entry for typo fix (recieved -> received)
diff --git a/plugins/woocommerce/changelog/fix-typo-received b/plugins/woocommerce/changelog/fix-typo-received
new file mode 100644
index 00000000000..8e2b8dc0ba5
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-typo-received
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix typo: "recieved" corrected to "received" in code comments and strings.
diff --git a/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/WooPayments.php b/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/WooPayments.php
index c97aa6f47df..a8cf3a48e90 100644
--- a/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+++ b/plugins/woocommerce/src/Internal/Admin/Suggestions/Incentives/WooPayments.php
@@ -66,7 +66,7 @@ class WooPayments extends Incentive {
* @return boolean Whether the incentive should be visible.
*/
public function is_visible( string $id, string $country_code, bool $skip_extension_active_check = false ): bool {
- // Always skip the extension active check since we will check bellow.
+ // Always skip the extension active check since we will check below.
if ( false === parent::is_visible( $id, $country_code, true ) ) {
return false;
}
diff --git a/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableQuery.php b/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableQuery.php
index b17c6c07d04..d242e28751d 100644
--- a/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableQuery.php
+++ b/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableQuery.php
@@ -1349,7 +1349,7 @@ class OrdersTableQuery {
$order = $this->sanitize_order( $this->args['order'] ?? '' );
$orderby = $this->sanitize_order_orderby( $this->args['orderby'] ?? 'none' );
- // Set orderby to an empty array by default. This will also be used if sanitize_order_orderby recieved "none".
+ // Set orderby to an empty array by default. This will also be used if sanitize_order_orderby received "none".
$this->orderby = array();
if ( 'include' === $orderby || 'post__in' === $orderby ) {