Skip to content

Fix use of secrets on WP Cloud site - #1909

Merged
brandonpayton merged 1 commit into
trunkfrom
fix-use-of-wp-cloud-secrets
Oct 16, 2024
Merged

Fix use of secrets on WP Cloud site#1909
brandonpayton merged 1 commit into
trunkfrom
fix-use-of-wp-cloud-secrets

Conversation

@brandonpayton

Copy link
Copy Markdown
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
@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

1 participant