From 6a26b969c6bac1a9cec229cd37e1e5976fee5bed Mon Sep 17 00:00:00 2001 From: dkmyta Date: Thu, 20 Feb 2025 11:11:18 -0800 Subject: [PATCH 1/2] Add Account Protection to pricing table --- .../packages/my-jetpack/src/products/class-protect.php | 7 +++++++ .../protect/src/js/components/pricing-table/index.jsx | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/projects/packages/my-jetpack/src/products/class-protect.php b/projects/packages/my-jetpack/src/products/class-protect.php index a84e7973e3b56..c0ddaebf037ff 100644 --- a/projects/packages/my-jetpack/src/products/class-protect.php +++ b/projects/packages/my-jetpack/src/products/class-protect.php @@ -220,6 +220,13 @@ public static function get_features_by_tier() { self::UPGRADED_TIER_SLUG => array( 'included' => true ), ), ), + array( + 'name' => __( 'Account protection', 'jetpack-my-jetpack' ), + 'tiers' => array( + self::FREE_TIER_SLUG => array( 'included' => true ), + self::UPGRADED_TIER_SLUG => array( 'included' => true ), + ), + ), array( 'name' => __( 'Access to scan on Cloud', 'jetpack-my-jetpack' ), 'tiers' => array( diff --git a/projects/plugins/protect/src/js/components/pricing-table/index.jsx b/projects/plugins/protect/src/js/components/pricing-table/index.jsx index 3edd7911a0b6a..2175853651c9b 100644 --- a/projects/plugins/protect/src/js/components/pricing-table/index.jsx +++ b/projects/plugins/protect/src/js/components/pricing-table/index.jsx @@ -66,6 +66,9 @@ const ConnectedPricingTable = () => { { name: __( 'Brute force protection', 'jetpack-protect' ), }, + { + name: __( 'Account protection', 'jetpack-protect' ), + }, { name: __( 'Access to scan on Cloud', 'jetpack-protect' ), }, @@ -121,6 +124,7 @@ const ConnectedPricingTable = () => { + @@ -155,6 +159,7 @@ const ConnectedPricingTable = () => { label={ __( 'Manual rules only', 'jetpack-protect' ) } /> + From 35954e86b45dbb9f76f6e9e76ab2fd620abe0e0f Mon Sep 17 00:00:00 2001 From: dkmyta Date: Thu, 20 Feb 2025 11:13:39 -0800 Subject: [PATCH 2/2] changelog --- .../changelog/add-protect-account-protection-to-pricing-table | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/packages/my-jetpack/changelog/add-protect-account-protection-to-pricing-table diff --git a/projects/packages/my-jetpack/changelog/add-protect-account-protection-to-pricing-table b/projects/packages/my-jetpack/changelog/add-protect-account-protection-to-pricing-table new file mode 100644 index 0000000000000..245544c6739d7 --- /dev/null +++ b/projects/packages/my-jetpack/changelog/add-protect-account-protection-to-pricing-table @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Adds Account Protection to Protect product details