diff --git a/cache-command.php b/cache-command.php index 0c88d365e..1b7bfb252 100644 --- a/cache-command.php +++ b/cache-command.php @@ -4,9 +4,9 @@ return; } -$wp_cli_cache_autoloader = dirname( __FILE__ ) . '/vendor/autoload.php'; -if ( file_exists( $wp_cli_cache_autoloader ) ) { - require_once $wp_cli_cache_autoloader; +$wpcli_cache_autoloader = dirname( __FILE__ ) . '/vendor/autoload.php'; +if ( file_exists( $wpcli_cache_autoloader ) ) { + require_once $wpcli_cache_autoloader; } WP_CLI::add_command( 'cache', 'Cache_Command' );