protected function _commands_for_database_import_locally(&$commands) { extract($this->params); $host = $db_host . ':' . $db_port; $wpdb = new wpdb($db_user, $db_password, $db_name, $host); $path = ABSPATH; $url = get_bloginfo('url'); $dist_path = constant(WP_Deploy_Flow_Command::config_constant('path')) . '/'; $commands[] = array("wp migrate to {$path} {$url} dump.sql", true); }