Commit 258bffd15d1 for woocommerce

commit 258bffd15d12f6f6364f57047957f22c595ebb0d
Author: Darren Ethier <darren@roughsmootheng.in>
Date:   Tue Aug 18 11:05:51 2026 -0400

    Remove dead SlowDBQuery suppression from product review counts (#67824)

diff --git a/plugins/woocommerce/changelog/fix-remove-dead-slowdbquery-suppression b/plugins/woocommerce/changelog/fix-remove-dead-slowdbquery-suppression
new file mode 100644
index 00000000000..18c22443277
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-remove-dead-slowdbquery-suppression
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Remove an unnecessary coding-standard suppression from product review rating counts.
diff --git a/plugins/woocommerce/includes/class-wc-comments.php b/plugins/woocommerce/includes/class-wc-comments.php
index bf9806af665..f93d8117555 100644
--- a/plugins/woocommerce/includes/class-wc-comments.php
+++ b/plugins/woocommerce/includes/class-wc-comments.php
@@ -628,7 +628,7 @@ class WC_Comments {
 		);

 		foreach ( $raw_counts as $count ) {
-			$counts[ $count->meta_value ] = absint( $count->meta_value_count ); // phpcs:ignore WordPress.DB.SlowDBQuery.meta_value -- meta_value is a result-object property, not a query argument.
+			$counts[ $count->meta_value ] = absint( $count->meta_value_count );
 		}

 		return $counts;