Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit f963210

Browse files
committed
Unset flag to indidcate that tool did not ran.
1 parent dbdc143 commit f963210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ public function execute_tool( $tool ) {
566566
$message = __( 'Template cache cleared.', 'woocommerce-rest-api' );
567567
} else {
568568
$message = __( 'The active version of WooCommerce does not support template cache clearing.', 'woocommerce-rest-api' );
569+
$ran = false;
569570
}
570571
break;
571572

0 commit comments

Comments
 (0)