Skip to content

Commit

Permalink
Update messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum committed Jun 14, 2023
1 parent 1048bf6 commit cc267ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-cli/vip-filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cc267ae

Please sign in to comment.