-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added flag for lite plan users. Added checks to avoid asking tiers fr…
…om Patreon api if creator is on lite plan. Will prevent 401 errors and constant checks. Now will only check creator tiers when creators load post editor page after the initial check done in installation/first run. Modified the info text in Patreon level metabox to inform lite users about not being able to use tiers. Patreon level metabox info text now links users the page to upgrade their Patreon plan if they are on lite plan and they want to use tiers. Added checks to text above locked post interface and text in valid patron footer to not use tiers in interface text if creator is on lite plan. Now uses $ amount if creator is on lite plan. Added logic to override tier matching over currently_entitled_tiers with currently_entitled_amount_cents for patrons of lite plan creators. Prevented Patreon connection wizard nag from appearing to non-admins in WP admin.
- Loading branch information
Showing
3 changed files
with
201 additions
and
123 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.