Repository navigation
Add WP_SECRETS_KEY to our config - #1029
Merged
Merged
Conversation
tianon
commented
Nov 11, 2026
| * | ||
| * @since 7.2.0 | ||
| */ | ||
| define( 'WP_SECRETS_KEY', getenv_docker('WORDPRESS_SECRETS_KEY', 'put your unique phrase here') ); |
Member
Author
There was a problem hiding this comment.
I wasn't sure if our variable should be WP_SECRETS_KEY to be consistent with upstream or WORDPRESS_SECRETS_KEY to be consistent with our other variables, so I opted for the latter, but I'm very open to being convinced otherwise.
Member
There was a problem hiding this comment.
I think this is fine. It follows what is already done for WP_DEBUG
yosifkit
approved these changes
Nov 11, 2026
docker-library-bot
added a commit
to docker-library-bot/official-images
that referenced
this pull request
Nov 11, 2026
Changes: - docker-library/wordpress@748a3ba: Merge pull request docker-library/wordpress#1029 from infosiftr/WP_SECRETS_KEY - docker-library/wordpress@2e464c8: Add `WP_SECRETS_KEY` to our config - docker-library/wordpress@d45ea0d: Update beta to 7.2-beta5
tianon
pushed a commit
to docker-library/official-images
that referenced
this pull request
Nov 11, 2026
Changes: - docker-library/wordpress@748a3ba: Merge pull request docker-library/wordpress#1029 from infosiftr/WP_SECRETS_KEY - docker-library/wordpress@2e464c8: Add `WP_SECRETS_KEY` to our config - docker-library/wordpress@d45ea0d: Update beta to 7.2-beta5 Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See WordPress/WordPress@e9cf430
docker-library/official-images#22723 (comment):