Commit bc2bd0bb0d2 for woocommerce
commit bc2bd0bb0d2b16f2d29907c4b6ad9af42a4919e3
Author: Asim Sulehria <de.asimhabib@gmail.com>
Date: Thu May 14 18:35:54 2026 +0500
Fix typos in code: linkToDescrption, unkown-status, identifer (#64882)
* Fix typo in product-summary RichText identifier (linkToDescrption -> linkToDescription)
* Fix typo in order test string value (unkown-status -> unknown-status)
* Fix typo in AbstractSchema PHPDoc comment (identifer -> identifier)
* Add changelog entry for round-3 typo fixes
diff --git a/plugins/woocommerce/changelog/fix-typos-round-3 b/plugins/woocommerce/changelog/fix-typos-round-3
new file mode 100644
index 00000000000..dd301e9e1ab
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-typos-round-3
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Fix typos in code: linkToDescrption, unkown-status, identifer.
diff --git a/plugins/woocommerce/client/blocks/assets/js/atomic/blocks/product-elements/summary/edit.tsx b/plugins/woocommerce/client/blocks/assets/js/atomic/blocks/product-elements/summary/edit.tsx
index dad8b4d7651..d20d30cf349 100644
--- a/plugins/woocommerce/client/blocks/assets/js/atomic/blocks/product-elements/summary/edit.tsx
+++ b/plugins/woocommerce/client/blocks/assets/js/atomic/blocks/product-elements/summary/edit.tsx
@@ -132,7 +132,7 @@ const LinkToDescription = ( {
return (
<p>
<RichText
- identifier="linkToDescrption"
+ identifier="linkToDescription"
className="wc-block-components-product-summary__more-link"
tagName="a"
aria-label={ __( '“Read more” link text', 'woocommerce' ) }
diff --git a/plugins/woocommerce/src/StoreApi/Schemas/V1/AbstractSchema.php b/plugins/woocommerce/src/StoreApi/Schemas/V1/AbstractSchema.php
index 83894ac28c9..6201289928b 100644
--- a/plugins/woocommerce/src/StoreApi/Schemas/V1/AbstractSchema.php
+++ b/plugins/woocommerce/src/StoreApi/Schemas/V1/AbstractSchema.php
@@ -251,7 +251,7 @@ abstract class AbstractSchema {
/**
* Returns extended schema for a specific endpoint.
*
- * @param string $endpoint The endpoint identifer.
+ * @param string $endpoint The endpoint identifier.
* @param array ...$passed_args An array of arguments to be passed to callbacks.
* @return array the data that will get added.
*/
diff --git a/plugins/woocommerce/tests/legacy/unit-tests/order/class-wc-tests-order-functions.php b/plugins/woocommerce/tests/legacy/unit-tests/order/class-wc-tests-order-functions.php
index 84598bb5be4..e78124d1cf2 100644
--- a/plugins/woocommerce/tests/legacy/unit-tests/order/class-wc-tests-order-functions.php
+++ b/plugins/woocommerce/tests/legacy/unit-tests/order/class-wc-tests-order-functions.php
@@ -95,7 +95,7 @@ class WC_Tests_Order_Functions extends WC_Unit_Test_Case {
}
// Invalid status returns 0.
- $this->assertEquals( 0, wc_orders_count( 'unkown-status' ) );
+ $this->assertEquals( 0, wc_orders_count( 'unknown-status' ) );
// Invalid order type should return 0.
$this->assertEquals( 0, wc_orders_count( OrderInternalStatus::PENDING, 'invalid-order-type' ) );