Skip to content

Remove v3 API Secret on Plugin Update#1065

Open
n7studios wants to merge 2 commits intomainfrom
remove-v3-api-secret
Open

Remove v3 API Secret on Plugin Update#1065
n7studios wants to merge 2 commits intomainfrom
remove-v3-api-secret

Conversation

@n7studios
Copy link
Copy Markdown
Contributor

Summary

Whenever a new Plugin release is published and the creator updates to the latest version, checks if a v3 API Secret exists, and if so deletes it from the Plugin's settings.

v3 API Keys and Secrets were retained following the introduction of the v4 API, to permit automatic exchange of v3 API Keys for v4 tokens. This was in July 2024, so by now the API secret isn't needed.

The v3 API Key is retained for the time being, to support legacy forms. A future PR will notify users who have this setting, and advise them how to add this to their wp-config.php file.

Testing

  • testV3APISecretRemovedFromSettings: Test that a v3 API Secret is removed from the Plugin's settings when specified.

Checklist

@n7studios n7studios self-assigned this Apr 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team April 8, 2026 11:19
@n7studios n7studios marked this pull request as ready for review April 8, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant