From 8308287d116965624db91d3a144421aa5f7e2f1d Mon Sep 17 00:00:00 2001 From: MILLER/F Date: Wed, 28 Aug 2024 13:12:40 +0200 Subject: [PATCH] Add/monetize add wpcom currencies (#38968) * Update class-jetpack-memberships.php * Create add-monetize-add-wpcom-currencies --------- Co-authored-by: Fabien MILLERAND --- .../jetpack/changelog/add-monetize-add-wpcom-currencies | 4 ++++ .../modules/memberships/class-jetpack-memberships.php | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/add-monetize-add-wpcom-currencies diff --git a/projects/plugins/jetpack/changelog/add-monetize-add-wpcom-currencies b/projects/plugins/jetpack/changelog/add-monetize-add-wpcom-currencies new file mode 100644 index 0000000000000..7d1631b31d4b2 --- /dev/null +++ b/projects/plugins/jetpack/changelog/add-monetize-add-wpcom-currencies @@ -0,0 +1,4 @@ +Significance: minor +Type: other + +Monetize: support more currencies diff --git a/projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php b/projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php index 30619a296ef1f..70e1567f3c036 100644 --- a/projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php +++ b/projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php @@ -148,6 +148,14 @@ public static function clear_post_access_level_cache() { 'PLN' => 2.0, 'SEK' => 3.0, 'SGD' => 0.5, + 'CZK' => 15.0, + 'HUF' => 175.0, + 'TWD' => 10.0, + 'IDR' => 0, + 'ILS' => 0, + 'PHP' => 0, + 'RUB' => 0, + 'TRY' => 0, ); /**