diff --git a/vip-helpers/vip-non-production.php b/vip-helpers/vip-non-production.php index f73e51f0fc..62f87915a4 100644 --- a/vip-helpers/vip-non-production.php +++ b/vip-helpers/vip-non-production.php @@ -13,10 +13,15 @@ function vip_do_non_prod_bar() { } if ( apply_filters( 'vip_show_non_prod_bar', true ) ) : + $environment = constant( 'VIP_GO_APP_ENVIRONMENT' ); + if ( 'local' === $environment && 'true' === getenv( 'CODESPACES' ) ) { + $environment = 'codespaces'; + } + ?>