From 365f8da441761912ccafd31a5308ffe5615fa404 Mon Sep 17 00:00:00 2001 From: arthur Date: Wed, 28 Aug 2024 11:45:43 +0900 Subject: [PATCH] Remove OG tags only when the site is configured to Coming Soon --- .../jetpack-mu-wpcom/src/features/blog-privacy/blog-privacy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/packages/jetpack-mu-wpcom/src/features/blog-privacy/blog-privacy.php b/projects/packages/jetpack-mu-wpcom/src/features/blog-privacy/blog-privacy.php index 1025341b7ec8c..397394ca82bb8 100644 --- a/projects/packages/jetpack-mu-wpcom/src/features/blog-privacy/blog-privacy.php +++ b/projects/packages/jetpack-mu-wpcom/src/features/blog-privacy/blog-privacy.php @@ -66,7 +66,7 @@ function robots_txt( string $output, $public ): string { * Disable the Open Graph Tags based on the value of either wpcom_public_coming_soon and wpcom_data_sharing_opt_out option. */ function remove_og_tags() { - if ( ! (bool) get_option( 'wpcom_public_coming_soon' ) && ! (bool) get_option( 'wpcom_data_sharing_opt_out' ) ) { + if ( ! (bool) get_option( 'wpcom_public_coming_soon' ) ) { return; }