Skip to content

Conversation

@defunctl
Copy link
Contributor

@defunctl defunctl commented Dec 1, 2023

Main Changes

This PR completely changes the way Uplink treats multisite installations. See the new multisite licensing documentation.

  • All token storing/disconnecting logic now requires a Resource slug in order to test whether the plugin is network activated or not, so we know where to store the token.
  • Lots of new helper functions to provide a common interface for accessing Uplink functionality.

Other

  • Fixes failing Replacement_Key tests due to renaming of base API url.

@defunctl defunctl self-assigned this Dec 1, 2023
@defunctl defunctl added the bug Something isn't working label Dec 1, 2023
@defunctl defunctl added this to the 2.0.0 milestone Dec 6, 2023
benjaminritner and others added 28 commits December 3, 2024 16:10
update the get_license_key function to be able to get from a file
Co-authored-by: Justin <defunctl@users.noreply.github.com>
Co-authored-by: Justin <defunctl@users.noreply.github.com>
Add caching to a false response for is auth to prevent requests every page load.
get_transient doesn't return an integer, so we need to store and test against a string
@dave-green-uk
Copy link
Contributor

@defunctl do you know what (if anything) is blocking this being reviewed and merged?

We could use it for: https://github.com/iconicwp/iconic-core/pull/50#issuecomment-3670503301

@defunctl
Copy link
Contributor Author

@defunctl do you know what (if anything) is blocking this being reviewed and merged?

We could use it for: iconicwp/iconic-core#50 (comment)

Hey @dave-green-uk Basically I created this for Kadence in a hurry to launch the AI licensing.

Because it's such a major change, I'm not sure how many sites it could affect/break if merged. I just know that Kadence does currently uses this branch in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants