From a5c02f9a62fb3f7f48d5f38a6b5c4d7e6ea1659d Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Wed, 17 Apr 2019 14:48:56 +0200 Subject: [PATCH] Use prefix `wpcli_` instead of `wp_cli_` --- cache-command.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' );