Repository navigation
Conversation
When WP_SECRETS_KEY is not defined, the default keyring derives its key from LOGGED_IN_KEY and LOGGED_IN_SALT, but it only rejected the English wp-config-sample.php placeholder. A site installed with a localized wp-config-sample.php that still has the translated placeholder had its secrets encrypted with a publicly known value. The keyring now also rejects the translated placeholder, in the same way as wp_salt(). Follow-up to [64337]. See #66187. Co-Authored-By: Claude <noreply@anthropic.com>
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
|
@rejaulalomkhan, thanks for taking the time to review this PR. However, your review reads as if AI simply put the code diff into words. One purpose of a code review is to actually look for flaws in the diff, or to suggest an approach you think would be better. Using AI to assist with reviews is fine, but AI cannot be the sole reviewer. See the AI Guidelines. |
|
Thank you for the candid feedback and guidance, @t-hamano, and my sincere apologies for the noise! You are completely right — while I ran the test suites locally to verify the pass, my note simply rephrased the diff rather than providing genuine critical evaluation or catching flaws. I take the WordPress AI Guidelines seriously, and I will make sure any future reviews are strictly reserved for when I have concrete technical critique, alternative approaches, or edge-case catches to offer. Thank you for your leadership and patience! |
|
Thanks for picking this up so quickly. #15258 now requires |
|
@ericmann Thank you for pointing that out. I think your suggestion is more secure, so let's close this PR. |
Addresses the following point in comment:27:
Trac ticket: https://core.trac.wordpress.org/ticket/66187
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Drafting the change, the test, and this description. I reviewed the change.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.
🤖 Generated with Claude Code