/
opt
/
wp-cli-plugins
/
vendor
/
wp-cli
/
doctor-command
/
features
/
New Directory
Upload File
HOME
Feature: Check if wp_cache_flush() function is used inside wp-content directory Scenario: Detect wp_cache_flush() Given a WP install And a wp-content/mu-plugins/plugin.php file: """ <?php wp_cache_flush(); """ When I run `wp doctor check cache-flush` Then STDOUT should be a table containing rows: | name | status | message | | cache-flush | warning | Use of wp_cache_flush() detected. |