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

Commit 42e73b9

Browse files
committed
Unset flag to indidcate that tool did not ran.
1 parent 5df976e commit 42e73b9

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
@@ -583,6 +583,7 @@ public function execute_tool( $tool ) {
583583
$message = __( 'Template cache cleared.', 'woocommerce-rest-api' );
584584
} else {
585585
$message = __( 'The active version of WooCommerce does not support template cache clearing.', 'woocommerce-rest-api' );
586+
$ran = false;
586587
}
587588
break;
588589

0 commit comments

Comments
 (0)