Skip to content
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

Fix use of secrets on WP Cloud site #1909

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

brandonpayton
Copy link
Member

Motivation for the change, related issues

A previous change to how we serve PHP files on the website broke use of secrets stored with WP Cloud. This PR fixes that.

Implementation details

Because we are using WP cloud persistent data storage early in the request lifecycle (when custom-redirects.php is executed), certain environmental dependencies of persistent storage are not yet defined. This PR forces the definition of those dependencies to give us access to secrets from persistent storage.

Testing Instructions (or ideally a Blueprint)

Manually tested on Playground website.

@brandonpayton brandonpayton added [Type] Bug An existing feature does not function as intended [Aspect] Website labels Oct 16, 2024
@brandonpayton brandonpayton requested a review from a team October 16, 2024 11:39
@brandonpayton brandonpayton self-assigned this Oct 16, 2024
@brandonpayton brandonpayton merged commit afc3fa0 into trunk Oct 16, 2024
1 check passed
@brandonpayton brandonpayton deleted the fix-use-of-wp-cloud-secrets branch October 16, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Website [Type] Bug An existing feature does not function as intended
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant