File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ change primary key values.
134
134
$ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i'
135
135
136
136
# Turn your production multisite database into a local dev database
137
- $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs
137
+ $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs wp_site --network
138
138
139
139
# Search/replace to a SQL file without transforming the database
140
140
$ wp search-replace foo bar --export=database.sql
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ class Search_Replace_Command extends WP_CLI_Command {
156
156
* $ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i'
157
157
*
158
158
* # Turn your production multisite database into a local dev database
159
- * $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs
159
+ * $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs wp_site --network
160
160
*
161
161
* # Search/replace to a SQL file without transforming the database
162
162
* $ wp search-replace foo bar --export=database.sql
You can’t perform that action at this time.
0 commit comments