Commit 79f8469bbbb for woocommerce
commit 79f8469bbbbf01b4b793885397b00a1df38418fb
Author: Asim Sulehria <de.asimhabib@gmail.com>
Date: Wed May 6 13:57:52 2026 +0500
Fix comment typos and incorrect docblock description (#64603)
diff --git a/plugins/woocommerce/includes/class-wc-product-variable.php b/plugins/woocommerce/includes/class-wc-product-variable.php
index b18085e979b..a2c971cfe9b 100644
--- a/plugins/woocommerce/includes/class-wc-product-variable.php
+++ b/plugins/woocommerce/includes/class-wc-product-variable.php
@@ -154,7 +154,7 @@ class WC_Product_Variable extends WC_Product {
* Note: Variable prices do not show suffixes like other product types. This
* is due to some things like tax classes being set at variation level which
* could differ from the parent price. The only way to show accurate prices
- * would be to load the variation and get it's price, which adds extra
+ * would be to load the variation and get its price, which adds extra
* overhead and still has edge cases where the values would be inaccurate.
*
* Additionally, ranges of prices no longer show 'striked out' sale prices
diff --git a/plugins/woocommerce/includes/cli/class-wc-cli-rest-command.php b/plugins/woocommerce/includes/cli/class-wc-cli-rest-command.php
index fa5a7329af2..e65929dda3e 100644
--- a/plugins/woocommerce/includes/cli/class-wc-cli-rest-command.php
+++ b/plugins/woocommerce/includes/cli/class-wc-cli-rest-command.php
@@ -451,7 +451,7 @@ EOT;
/**
* JSON can be passed in some more complicated objects, like the payment gateway settings array.
- * This function decodes the json (if present) and tries to get it's value.
+ * This function decodes the json (if present) and tries to get its value.
*
* @param array $arr Array that will be scanned for JSON encoded values.
*
diff --git a/plugins/woocommerce/src/Packages.php b/plugins/woocommerce/src/Packages.php
index 9621743aa21..736196444df 100644
--- a/plugins/woocommerce/src/Packages.php
+++ b/plugins/woocommerce/src/Packages.php
@@ -36,7 +36,7 @@ class Packages {
/**
* Array of package names and their main package classes.
*
- * One a package has been merged into WooCommerce Core it should be moved from the package list and placed in
+ * Once a package has been merged into WooCommerce Core it should be moved from the package list and placed in
* this list. This will ensure that the feature plugin is disabled as well as provide the class to handle
* initialization for the now-merged feature plugin.
*
@@ -90,7 +90,7 @@ class Packages {
}
/**
- * Checks a package exists by looking for it's directory.
+ * Checks a package exists by looking for its directory.
*
* @param string $package Package name.
* @return boolean
@@ -100,7 +100,7 @@ class Packages {
}
/**
- * Checks a package exists by looking for it's directory.
+ * Checks if a class name corresponds to a merged package and should be loaded.
*
* @param string $class_name Class name.
* @return boolean