From f33652006747e1b03aec76a8d47193e88d39643d Mon Sep 17 00:00:00 2001 From: Rebecca Hum <16962021+rebeccahum@users.noreply.github.com> Date: Wed, 14 Jun 2023 11:10:19 -0600 Subject: [PATCH] Update messaging --- wp-cli/vip-filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-cli/vip-filesystem.php b/wp-cli/vip-filesystem.php index b97582528f..c8ab4094f2 100644 --- a/wp-cli/vip-filesystem.php +++ b/wp-cli/vip-filesystem.php @@ -57,7 +57,7 @@ class VIP_Files_CLI_Command extends \WPCOM_VIP_CLI_Command { */ public function update_filesizes( $args, $assoc_args ) { if ( defined( 'VIP_FILESYSTEM_USE_STREAM_WRAPPER' ) && false === constant( 'VIP_FILESYSTEM_USE_STREAM_WRAPPER' ) ) { - WP_CLI::error( 'This script only works when the VIP Stream Wrapper is enabled. Please add `define( \'VIP_FILESYSTEM_USE_STREAM_WRAPPER\', true );` to vip-config.php and try again.' ); + WP_CLI::error( 'This script only works when the VIP Stream Wrapper is enabled. If the constant \'VIP_FILESYSTEM_USE_STREAM_WRAPPER\' is defined as false, please remove it.' ); return; }