Skip to content

Commit c120ea9

Browse files
Regenerate README file
1 parent 54d3e08 commit c120ea9

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ multisite, this will just be the tables for the current site unless
2323
Search/replace intelligently handles PHP serialized data, and does not
2424
change primary key values.
2525

26-
Note: URLs stored inside JSON-encoded data (such as block attributes or
27-
form configurations) often have forward slashes escaped with backslashes
28-
(e.g. `https:\/\/example.com`). Standard search/replace with unescaped
29-
URLs will not match these. To replace URLs in JSON-encoded strings, run
30-
an additional search/replace with escaped slashes (e.g.
31-
`wp search-replace 'https:\/\/example.com' 'https:\/\/example.test'`).
32-
3326
Tables without a primary key are skipped. To check whether a table has a
3427
primary key, run `wp db query 'DESCRIBE <table>'` and look for 'PRI' in
3528
the Key column.
@@ -151,9 +144,6 @@ the Key column.
151144
# Search and replace but skip one column
152145
$ wp search-replace 'http://example.test' 'http://example.com' --skip-columns=guid
153146

154-
# Search/replace JSON-encoded URLs (where forward slashes are escaped with backslashes)
155-
$ wp search-replace 'https:\/\/example.com' 'https:\/\/example.test'
156-
157147
# Run search/replace operation but dont save in database
158148
$ wp search-replace 'foo' 'bar' wp_posts wp_postmeta wp_terms --dry-run
159149

0 commit comments

Comments
 (0)