This WP-CLI plugin makes the process of moving sites from single WordPress sites to a Multisite instance (or vice-versa) much easier. It exports everything into a zip package which can be used to automatically import it within the desired Multisite installation.
This PR changes how the "db export" is called and might fix the
"Something went wrong while trying to export the database" error that some people including me get.
It replaces the launch_self() command with the runcommand().
Because runcommand() returns a different value on success, we also adapt the error handling.
This PR changes how the "db export" is called and might fix the "Something went wrong while trying to export the database" error that some people including me get.
It replaces the
launch_self()
command with theruncommand()
. Becauseruncommand()
returns a different value on success, we also adapt the error handling.