-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
My jetpack: handle tiers enabled better (#38989)
* add are_tier_plans_enabled method, use it to determine proper output from the product * change the default output for no paid plan, using default will let the frontend use the generic description * return null if there's no connection * simplify features array and return condition * simplify flag check * restore unreliable default * return generic features on faulty default * handle error on tier plans check method
- Loading branch information
Showing
2 changed files
with
62 additions
and
15 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/packages/my-jetpack/changelog/my-jetpack-handle-tiers-enabled-better
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
My Jetpack: AI product class to handle better disabling tiers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters