diff --git a/wp-cli/vip-cache.php b/wp-cli/vip-cache.php index e92fdc2202..9416b33828 100644 --- a/wp-cli/vip-cache.php +++ b/wp-cli/vip-cache.php @@ -8,6 +8,9 @@ function purge( $args, $assoc_args ) { // This sets up the URL/regex to be banned. There's no need to manually // execute a purge since it is handled automatically on the `shutdown` hook. WPCOM_VIP_Cache_Manager::instance()->purge_site_cache(); + if ( defined( 'WPCOM_SANDBOXED' ) && WPCOM_SANDBOXED ) { + WP_CLI::line( 'Because you are sandboxed this has only purged the Varnish cache on your sandbox host, un-sandbox and use the button in the site admin area if you need to purge the VIP Go edge cache.' ); + } WP_CLI::success( 'Varnish cache purged!' ); } }