-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users already on Pro are being asked to upgrade to Pro for two Earn features #62376
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~32 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~8808 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~3 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works as described in the test plan. LGTM 🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed as per testing instructions. LGTM
Go to /earn/[site]?flags=plans/pro-plan on a Pro site
The "Collect PayPal payments" and "Earn ad revenue" should be unlocked
This is the same without the query string (?flags=plans/pro-plan
)
FEATURE_SIMPLE_PAYMENTS, | ||
FEATURE_WORDADS_INSTANT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why these are needed, but guessing they are necessary :-)
…eatures (#62376) * Include the relevant earn feature for the Pro plan and update related copy * Include the Pro plan in the Premium or Better check
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7212193 Thank you @claudiucelfilip for including a screenshot in the description! This is really helpful for our translators. |
Translation for this Pull Request has now been finished. |
Changes proposed in this Pull Request
This adds the two Earn Features to the Pro plan config and updates the related card copies to mention Pro plan.
Testing instructions
/earn/[site]?flags=plans/pro-plan
on a Free siteUnlock this Feature
buttons ./earn/[site]?flags=plans/pro-plan
on a Pro site