diff --git a/blogpublic-notice.php b/blogpublic-notice.php index 57ab7fd039..6474e41cdf 100644 --- a/blogpublic-notice.php +++ b/blogpublic-notice.php @@ -2,8 +2,10 @@ namespace Automattic\VIP\Blog_Public; -if ( 'production' === VIP_GO_APP_ENVIRONMENT ) { - return; +if ( defined( 'VIP_GO_APP_ENVIRONMENT' ) ) { + if ( 'production' === VIP_GO_APP_ENVIRONMENT ) { + return; + } } /**