-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Env: Support wp-config.php overrides. #20352
Env: Support wp-config.php overrides. #20352
Conversation
Size Change: 0 B Total Size: 864 kB ℹ️ View Unchanged
|
Why only set config on the development environment? My understanding was that the two environments are identical except for that they use different databases. I think let's remove |
I thought certain variables that log extra output could break tests, but I guess that might also be intended in some cases, and if we run into issues, we can always introduce
Good idea, done. |
Done 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Tested by setting some constants in .wp-env.override.json
and inspecting them in /wp-admin/site-health.php?tab=debug
👍
* Env: Support wp-config.php overrides. * Env: Move WORDPRESS_DEBUG to work through the new config. * Fix bugs. * Handle string values.
* Env: Support wp-config.php overrides. * Env: Move WORDPRESS_DEBUG to work through the new config. * Fix bugs. * Handle string values.
Closes #19972.