Skip to content

Commit 19eebf5

Browse files
committed
Merge branch '4.x' into fix-2697
2 parents 3ddaad2 + c749f64 commit 19eebf5

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
# Change Log
22
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org)
33

4-
## 4.0.4-dev
4+
## 4.1.1-dev
5+
6+
### Added
7+
8+
### Fixed
9+
10+
## 4.1.0 - 2025-09-29
511

612
### Added
713

814
- Add "PHP Runtime Generation" (php_runtime_generation) and "PHP Version" (php_version) to the `env:list` command (#2729, #2732)
915
- Fix output of drush_version in `env:info` (#2736)
1016

17+
### Fixed
18+
19+
- Fix workflow:wait timeout to use warnings instead of errors (#2724)
20+
1121
## 4.0.3 - 2025-09-11
1222

1323
### Added

config/constants.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
---
88

99
# App
10-
TERMINUS_VERSION: '4.0.4-dev'
10+
TERMINUS_VERSION: '4.1.1-dev'
1111

1212
# Connectivity
1313
TERMINUS_HOST: 'terminus.pantheon.io'

src/Models/Environment.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ public function cloneDatabase(Environment $from_env, array $options = [])
176176
if (!empty($options['from_url']) && !empty($options['to_url'])) {
177177
$params['wp_replace_siteurl']['from_url'] = $options['from_url'];
178178
$params['wp_replace_siteurl']['to_url'] = $options['to_url'];
179+
} else {
180+
// Automatically detect environment URLs for search-replace
181+
$params['wp_replace_siteurl']['from_url'] = 'https://' . $from_env->domain();
182+
$params['wp_replace_siteurl']['to_url'] = 'https://' . $this->domain();
179183
}
180184
return $this->getWorkflows()->create(
181185
'clone_database',

0 commit comments

Comments
 (0)