wp-media / wp-rocket-cli

WP CLI interface for the WP Rocket plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cache files not cleared even if the confirmation message says it worked.

johan-las opened this issue · comments

Issue description

In a specific case, when running the command wp rocket clean --confirm we receive the confirmation message below:

Success: All cache files cleared.

image

But the cache files are still present. With same modification date.

Solution

Please update the verification cache clearing process to include a verification step, ensuring that the files are successfully deleted.