From 5b76bce43cf3cbf42b17d3e91caa880e2f4d6cf8 Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Thu, 30 Oct 2025 14:38:22 +0530 Subject: [PATCH] fix(WordPress): add --skip-ssl option to db export command --- src/WordPress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WordPress.php b/src/WordPress.php index d846fb2..70be08c 100644 --- a/src/WordPress.php +++ b/src/WordPress.php @@ -1439,7 +1439,7 @@ protected function update_ssl( $assoc_args ) { EE::log( 'Running search-replace.' ); EE::log( 'Taking database backup before search-replace.' ); - EE::exec( sprintf( \EE_DOCKER::docker_compose_with_custom() . ' exec php wp db export %s.db', $this->site_data['site_url'] ) ); + EE::exec( sprintf( \EE_DOCKER::docker_compose_with_custom() . ' exec php wp db export --skip-ssl %s.db', $this->site_data['site_url'] ) ); $db_file = $this->site_data['site_fs_path'] . '/app/htdocs/' . $this->site_data['site_url'] . '.db'; $backup_location = EE_BACKUP_DIR . '/' . $this->site_data['site_url'] . '/' . $this->site_data['site_url'] . '.db';