Skip to content

Commit

Permalink
Update privacy inline support links
Browse files Browse the repository at this point in the history
  • Loading branch information
taipeicoder committed Oct 16, 2024
1 parent b129137 commit 9a0ca48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion client/components/inline-support-link/context-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 1 addition & 5 deletions client/my-sites/site-settings/site-setting-privacy/form.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -253,10 +252,7 @@ const SiteSettingPrivacyForm = ( {
a: (
<InlineSupportLink
showIcon={ false }
supportLink={ localizeUrl(
'https://wordpress.com/support/privacy-settings/#public'
) }
showSupportModal={ false }
supportContext="privacy-prevent-third-party-sharing"
/>
),
},
Expand Down

0 comments on commit 9a0ca48

Please sign in to comment.