diff --git a/projects/plugins/wpcomsh/wpcom-features/functions-wpcom-features.php b/projects/plugins/wpcomsh/wpcom-features/functions-wpcom-features.php index 38f0c2aeb6b28..6d14d2b0d1de0 100644 --- a/projects/plugins/wpcomsh/wpcom-features/functions-wpcom-features.php +++ b/projects/plugins/wpcomsh/wpcom-features/functions-wpcom-features.php @@ -59,11 +59,9 @@ function wpcom_site_has_feature( $feature, $blog_id = 0 ) { $blog = null; if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) { $site_type = 'wpcom'; - } elseif ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { + } else { $blog = get_blog_details( $blog_id, false ); $site_type = is_blog_wpcom( $blog ) || is_blog_atomic( $blog ) ? 'wpcom' : 'jetpack'; - } else { - $site_type = 'jetpack'; } // A8C override for certain sites.