From 9a0ca487ab1dceba61a886d76f4d131711387bca Mon Sep 17 00:00:00 2001 From: Griffith Chen Date: Wed, 16 Oct 2024 12:48:44 +0800 Subject: [PATCH] Update privacy inline support links --- client/components/inline-support-link/context-links.js | 6 +++++- client/my-sites/site-settings/site-setting-privacy/form.tsx | 6 +----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/components/inline-support-link/context-links.js b/client/components/inline-support-link/context-links.js index 0d7a16cab35dd..94dc834dadda3 100644 --- a/client/components/inline-support-link/context-links.js +++ b/client/components/inline-support-link/context-links.js @@ -244,13 +244,17 @@ const contextLinks = { post_id: 243475, }, privacy: { - link: 'https://wordpress.com/support/settings/privacy-settings/', + link: 'https://wordpress.com/support/privacy-settings/', post_id: 1507, }, 'privacy-preview-link': { link: 'https://wordpress.com/support/settings/privacy-settings/#preview-link', post_id: 1507, }, + 'privacy-prevent-third-party-sharing': { + link: 'https://wordpress.com/support/privacy-settings/make-your-website-public/#prevent-third-party-sharing', + post_id: 1507, + }, 'primary-site-address': { link: 'https://wordpress.com/support/domains/set-a-primary-address/', post_id: 197437, diff --git a/client/my-sites/site-settings/site-setting-privacy/form.tsx b/client/my-sites/site-settings/site-setting-privacy/form.tsx index c81575d21b61c..ea82db4a980a2 100644 --- a/client/my-sites/site-settings/site-setting-privacy/form.tsx +++ b/client/my-sites/site-settings/site-setting-privacy/form.tsx @@ -1,6 +1,5 @@ import { WPCOM_FEATURES_SITE_PREVIEW_LINKS } from '@automattic/calypso-products'; import { FormLabel } from '@automattic/components'; -import { localizeUrl } from '@automattic/i18n-utils'; import clsx from 'clsx'; import { useTranslate } from 'i18n-calypso'; import FormInputCheckbox from 'calypso/components/forms/form-checkbox'; @@ -253,10 +252,7 @@ const SiteSettingPrivacyForm = ( { a: ( ), },