-
Notifications
You must be signed in to change notification settings - Fork 7
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
v4 API: Legacy Resources #663
Conversation
…oauth-legacy-resources # Conflicts: # includes/class-convertkit-setup.php
…oauth-legacy-resources
…oauth-legacy-resources
…oauth-legacy-resources
This acts as if the Plugin updated to OAuth and automatically cached the legacy forms and landing pages an account has.
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.
@mercedesb Tim is proposing caching legacy forms on client's WordPress sites since APIv4 won't return legacy forms. Is that correct? Are there plans to include them later, or was that deliberate decision to deprecate them.
Tim, we might need to hold off from moving wholly to the V4 API because I don't know how workable locally caching legacy forms is going to be unless we drop support for legacy forms, in which case I don't think we should be caching them either. This seems like a recipe for an inconsistent user experience.
Yes, it was a deliberate decision to deprecate legacy landing pages that Marc and Megan made and made sense in the long-term with where we want to get to eventually |
@n7studios We will be adding another endpoint for legacy forms. We'll keep you posted when that's ready to use! |
Apologies, I thought I'd replied to this. That's fine - the v4 work merges into its own
Thanks. I'll look to implement this when ready, which will probably make this PR redundant. |
…resources in the API
…legacy-resources # Conflicts: # tests/acceptance/general/UpgradePathsCest.php
This will include the necessary v3 API Key, without the Plugin needing to have an API Key due to the likelihood that some installations will be new and have only ever used OAuth.
Summary
Reinstates tests for legacy forms and landing pages, using the
v4-api
WordPress Libraries that now fetch legacy resources.Testing
Checklist