Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache-flush check: Return early if a match is found
We currently scan all the PHP files in the target WP content dir looking for `wp_cache_flush()` uses, however we are not currently using the results in a meaninful way so we can just probably return early if the current check found a match. If there are plans to list the matched files, we can probably attempt to use some more performan alternatives (grep if available for example) which should be likely faster than a PHP based implementation. See #178
- Loading branch information