Unset flag to indidcate that tool did not ran.

This commit is contained in:
vedanshujain 2020-06-15 23:50:00 +05:30
parent 5df976e1aa
commit 42e73b9080
1 changed files with 1 additions and 0 deletions

View File

@ -583,6 +583,7 @@ class WC_REST_System_Status_Tools_V2_Controller extends WC_REST_Controller {
$message = __( 'Template cache cleared.', 'woocommerce-rest-api' );
} else {
$message = __( 'The active version of WooCommerce does not support template cache clearing.', 'woocommerce-rest-api' );
$ran = false;
}
break;