Skip to content
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

Skip wp-config.php changes with flag --skip-wp-config #3

Open
TeemuSuoranta opened this issue Sep 8, 2016 · 2 comments
Open

Skip wp-config.php changes with flag --skip-wp-config #3

TeemuSuoranta opened this issue Sep 8, 2016 · 2 comments

Comments

@TeemuSuoranta
Copy link

Hi!

Thanks for a great command. I would like to have a way to skip changes to wp-config.php because the command may (and has) had some problems if the prefix is defined with .env file or similar. The easiest way could be adding flag --skip-wp-config in the end of the command that would not make any changes to wp-config.php.

Can this be done? I might be able to help with PR when I have time.

@iandunn
Copy link
Owner

iandunn commented Sep 8, 2016

I think that's a good idea, but I doubt I'd ever have time to implement it myself. Finding time to review/tweak a PR is difficult, too, so forking may be a better option. I'll leave this open just in case I do find time, though.

@TeemuSuoranta
Copy link
Author

Thanks for a quick answer. This is a low priority enhancement and you can get by changing the wp-config.php temporarily before running the command and then replacing the $table_prefix part back as it was (with new prefix).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants