Skip to content

Commit a8fe0c2

Browse files
Fix production multisite database transformation example
1 parent 4297add commit a8fe0c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Search_Replace_Command.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class Search_Replace_Command extends WP_CLI_Command {
156156
* $ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i'
157157
*
158158
* # 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
160160
*
161161
* # Search/replace to a SQL file without transforming the database
162162
* $ wp search-replace foo bar --export=database.sql

0 commit comments

Comments
 (0)