-
Notifications
You must be signed in to change notification settings - Fork 1
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
Edit constants and variables defined in wp-config.php #4
Comments
Started work on a command to do this. Very much a work in progress but initial functionality works well enough for some testing and input if anyones interested: https://github.com/emirpprime/config-update-command My starting point was to mimic config variables for familiarity / user expectations rather than introduce new behaviours. |
Neat! For programmatically editing a |
Yes happy to chip in - sounds like it might be a bit above my ability to do the heavy lifting but I'll do what I can! |
This was implemented with wp-cli/config-command#44 |
Editing a wp-config.php file programmatically is imprecise and error-prone, when it ideally would be as easy as running a WP-CLI command.
Borek Bernard has some suggestions for how to implement: wp-cli/wp-cli#2501
The text was updated successfully, but these errors were encountered: