Commit e072a534ffe for woocommerce

commit e072a534ffe9c466d966a33e0a57fec01a06b489
Author: Albert Juhé Lluveras <contact@albertjuhe.com>
Date:   Thu Dec 3 09:35:18 2026 +0100

    Update WooCommerce theme support policy so all block themes are flagged as supported (#71703)

    * Mark all block themes as compatible with WooCommerce

    * Add changelog file

    * Revert description updates

diff --git a/plugins/woocommerce/changelog/fix-WOOTHME-564-block-themes-compatible-with-woocommerce b/plugins/woocommerce/changelog/fix-WOOTHME-564-block-themes-compatible-with-woocommerce
new file mode 100644
index 00000000000..042bc961b80
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-WOOTHME-564-block-themes-compatible-with-woocommerce
@@ -0,0 +1,4 @@
+Significance: patch
+Type: update
+
+Update WooCommerce theme support policy so all block themes are flagged as supported
diff --git a/plugins/woocommerce/includes/admin/views/html-admin-page-status-report.php b/plugins/woocommerce/includes/admin/views/html-admin-page-status-report.php
index 4d12b146eba..41079841c0f 100644
--- a/plugins/woocommerce/includes/admin/views/html-admin-page-status-report.php
+++ b/plugins/woocommerce/includes/admin/views/html-admin-page-status-report.php
@@ -1180,7 +1180,9 @@ if ( 0 < $mu_plugins_count ) :
 			<td class="help"><?php echo wc_help_tip( esc_html__( 'Displays whether or not the current active theme declares WooCommerce support.', 'woocommerce' ) ); ?></td>
 			<td>
 				<?php
-				if ( ! $theme['has_woocommerce_support'] ) {
+				if ( isset( $theme['is_block_theme'] ) && $theme['is_block_theme'] ) {
+					echo '<mark class="yes"><span class="dashicons dashicons-yes"></span> ' . esc_html__( 'Block themes support WooCommerce', 'woocommerce' ) . '</mark>';
+				} elseif ( ! $theme['has_woocommerce_support'] ) {
 					echo '<mark class="error"><span class="dashicons dashicons-warning"></span> ' . esc_html__( 'Not declared', 'woocommerce' ) . '</mark>';
 				} else {
 					echo '<mark class="yes"><span class="dashicons dashicons-yes"></span></mark>';
diff --git a/plugins/woocommerce/includes/class-wc-tracker.php b/plugins/woocommerce/includes/class-wc-tracker.php
index 95458d745b4..d840dbde022 100644
--- a/plugins/woocommerce/includes/class-wc-tracker.php
+++ b/plugins/woocommerce/includes/class-wc-tracker.php
@@ -449,7 +449,7 @@ class WC_Tracker {
 	public static function get_theme_info() {
 		$theme_data           = wp_get_theme();
 		$theme_child_theme    = wc_bool_to_string( is_child_theme() );
-		$theme_wc_support     = wc_bool_to_string( current_theme_supports( 'woocommerce' ) );
+		$theme_wc_support     = wc_bool_to_string( wc_current_theme_supports_woocommerce_or_fse() );
 		$theme_is_block_theme = wc_bool_to_string( wp_is_block_theme() );

 		return array(
diff --git a/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php b/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
index aefbd532ece..1d4c81a926d 100644
--- a/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+++ b/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
@@ -1514,7 +1514,7 @@ class WC_REST_System_Status_V2_Controller extends WC_REST_Controller {
 				'author_url'              => esc_url_raw( $active_theme->{'Author URI'} ),
 				'is_child_theme'          => is_child_theme(),
 				'is_block_theme'          => wp_is_block_theme(),
-				'has_woocommerce_support' => current_theme_supports( 'woocommerce' ),
+				'has_woocommerce_support' => wc_current_theme_supports_woocommerce_or_fse(),
 				'has_woocommerce_file'    => ( file_exists( get_stylesheet_directory() . '/woocommerce.php' ) || file_exists( get_template_directory() . '/woocommerce.php' ) ),
 				'has_outdated_templates'  => $templates['has_outdated_templates'],
 				'overrides'               => $templates['overrides'],
diff --git a/plugins/woocommerce/src/Internal/Abilities/Domain/SystemStatusGet.php b/plugins/woocommerce/src/Internal/Abilities/Domain/SystemStatusGet.php
index 54737b2c2e8..2f7ee3d4d1e 100644
--- a/plugins/woocommerce/src/Internal/Abilities/Domain/SystemStatusGet.php
+++ b/plugins/woocommerce/src/Internal/Abilities/Domain/SystemStatusGet.php
@@ -214,7 +214,7 @@ class SystemStatusGet extends AbstractDomainAbility implements AbilityDefinition
 			'name'                    => (string) $theme->get( 'Name' ),
 			'version'                 => (string) $theme->get( 'Version' ),
 			'is_block_theme'          => $theme->is_block_theme(),
-			'has_woocommerce_support' => current_theme_supports( 'woocommerce' ),
+			'has_woocommerce_support' => wc_current_theme_supports_woocommerce_or_fse(),
 			'has_outdated_templates'  => $controller->get_template_overrides()['has_outdated_templates'],
 		);