diff --git a/README.md b/README.md index 4bcf2513..0ae9474e 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ multisite, this will just be the tables for the current site unless Search/replace intelligently handles PHP serialized data, and does not change primary key values. +The JSON-encoded form of the search string is replaced as well, so a +search for `https://example.com` also matches `https:\/\/example.com` +in JSON stored in the database. This does not apply with `--regex`, +where the pattern itself has to account for escaped slashes. + Tables without a primary key are skipped. To check whether a table has a primary key, run `wp db query 'DESCRIBE