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

Use runcommand for running the db commands #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use runcommand for running the db commands #11

wants to merge 1 commit into from

Conversation

lukasleitsch
Copy link

In the wp-cli 1.4.0 the backup and restore commands no longer work. I guess the issue is in the command that runs the db export.

The documentation recommends to use the WP_CLI::runcommand() instead of WP_CLI::launch_self(). (Docs) After changing the functions the backup and restore command works again.

@miya0001
Copy link
Member

miya0001 commented Nov 1, 2017

@lukasleitsch Thanks 😊
I will merge it after some work.

@lukasleitsch
Copy link
Author

Great.

Maybe this changes could be fix #8.

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

Successfully merging this pull request may close these issues.

2 participants