Skip to content

Commit b78239c

Browse files
committed
Reverted full WordPress regex find-replace as the domain is used in the main site config not the full url.
1 parent 0a8af50 commit b78239c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
### Changed
10+
- Reverted full WordPress regex find-replace as the domain is used in the main site config not the full url
11+
12+
913
## [1.7.1] - 2021-07-30
1014
### Changed
1115
- Database dump no includes the --no-tablespaces option to stop PROCESS provilege error. (Requires n98-magerun >4.3.0).

utils/remote_backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ fi
5656
5757
if [ $_arg_wordpress == 'on' ]; then
5858
cd wp
59-
wp search-replace 'http[s]?:\/\/(?:www\.)?$old_domain' 'https://$new_domain' --regex --export | gzip > $remote_backup_dir/latest-wp.sql.gz
59+
wp search-replace '$old_domain' '$new_domain' --export | gzip > $remote_backup_dir/latest-wp.sql.gz
6060
fi
6161
ENDSSH

0 commit comments

Comments
 (0)