Skip to content

Commit bdbdc40

Browse files
Replace .dev with .test in source of truth docs
1 parent 436ea49 commit bdbdc40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Search_Replace_Command.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class Search_Replace_Command extends WP_CLI_Command {
139139
* ## EXAMPLES
140140
*
141141
* # Search and replace but skip one column
142-
* $ wp search-replace 'http://example.dev' 'http://example.com' --skip-columns=guid
142+
* $ wp search-replace 'http://example.test' 'http://example.com' --skip-columns=guid
143143
*
144144
* # Run search/replace operation but dont save in database
145145
* $ wp search-replace 'foo' 'bar' wp_posts wp_postmeta wp_terms --dry-run
@@ -148,17 +148,17 @@ class Search_Replace_Command extends WP_CLI_Command {
148148
* $ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i'
149149
*
150150
* # Turn your production multisite database into a local dev database
151-
* $ wp search-replace --url=example.com example.com example.dev 'wp_*options' wp_blogs
151+
* $ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs
152152
*
153153
* # Search/replace to a SQL file without transforming the database
154154
* $ wp search-replace foo bar --export=database.sql
155155
*
156156
* # Bash script: Search/replace production to development url (multisite compatible)
157157
* #!/bin/bash
158158
* if $(wp --url=http://example.com core is-installed --network); then
159-
* wp search-replace --url=http://example.com 'http://example.com' 'http://example.dev' --recurse-objects --network --skip-columns=guid --skip-tables=wp_users
159+
* wp search-replace --url=http://example.com 'http://example.com' 'http://example.test' --recurse-objects --network --skip-columns=guid --skip-tables=wp_users
160160
* else
161-
* wp search-replace 'http://example.com' 'http://example.dev' --recurse-objects --skip-columns=guid --skip-tables=wp_users
161+
* wp search-replace 'http://example.com' 'http://example.test' --recurse-objects --skip-columns=guid --skip-tables=wp_users
162162
* fi
163163
*/
164164
public function __invoke( $args, $assoc_args ) {

0 commit comments

Comments
 (0)