Commit b65d8bc8f2a for woocommerce
commit b65d8bc8f2af20eae6c07a246038168a042f23f1
Author: Luigi Teschio <gigitux@gmail.com>
Date: Thu Aug 20 16:12:06 2026 +0200
Fix term count release version metadata (#67887)
* Update term count release metadata
* Add changelog entry for term count metadata
diff --git a/plugins/woocommerce/changelog/fix-outofstock-update-since b/plugins/woocommerce/changelog/fix-outofstock-update-since
new file mode 100644
index 00000000000..ef9fe4f1224
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-outofstock-update-since
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Update term count release version metadata.
diff --git a/plugins/woocommerce/includes/class-wc-post-data.php b/plugins/woocommerce/includes/class-wc-post-data.php
index ccff10aecc8..1aa4c691cb8 100644
--- a/plugins/woocommerce/includes/class-wc-post-data.php
+++ b/plugins/woocommerce/includes/class-wc-post-data.php
@@ -686,12 +686,12 @@ class WC_Post_Data {
* @param array $old_tt_ids The old array of term taxonomy IDs.
*
* @since 10.4.0
- * @deprecated 11.1.0 Product term-count consistency is now handled by the TermCount service.
+ * @deprecated 11.2.0 Product term-count consistency is now handled by the TermCount service.
*
* @return void
*/
public static function recount_terms_for_product_visibility_change( $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids ) {
- wc_deprecated_function( __FUNCTION__, '11.1.0' );
+ wc_deprecated_function( __FUNCTION__, '11.2.0' );
if ( 'product_visibility' !== $taxonomy ) {
return;
diff --git a/plugins/woocommerce/src/Internal/TermCount.php b/plugins/woocommerce/src/Internal/TermCount.php
index 0df04c57c1f..0a1b77d7889 100644
--- a/plugins/woocommerce/src/Internal/TermCount.php
+++ b/plugins/woocommerce/src/Internal/TermCount.php
@@ -21,7 +21,7 @@ defined( 'ABSPATH' ) || exit;
* functions remain responsible for calculating and persisting category, tag, brand,
* and ancestor counts.
*
- * @since 11.1.0
+ * @since 11.2.0
*
* @internal
*/
@@ -29,7 +29,7 @@ class TermCount {
/**
* Class initialization, executed when the class is resolved by the container.
*
- * @since 11.1.0
+ * @since 11.2.0
*
* @internal
*/
@@ -44,7 +44,7 @@ class TermCount {
* Removals are recounted by handle_deleted_term_relationships(), which runs before
* the set_object_terms hook during wp_set_object_terms().
*
- * @since 11.1.0
+ * @since 11.2.0
*
* @internal
*
@@ -83,7 +83,7 @@ class TermCount {
/**
* Recounts product terms after count-affecting visibility relationships are deleted.
*
- * @since 11.1.0
+ * @since 11.2.0
*
* @internal
*