Better communicate failure to search-replace JSON-serialized URLs
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- json
- Domain
- cli, database, documentation
Research direction
Start with the existing search-replace documentation and review how it explains URLs stored in JSON-serialized database values. Use the provided Gravity Forms example to document the limitation and URL-replacement guidance; done means the relevant scenario and expected behavior are clearly explained.
Written by the indexing model from the issue text.
Description
From Post Status Slack:
javorszky [5 hours ago] Gravity forms confirmation: goes to https://livesite.com/confirmation-page
I'm on dev. Dev is https://site.test
`wp search-replace https://livesites.com https://site.text`
It does not turn gravity form's form confirmation setting
javorszky [5 hours ago] because the setting is stored in the `rg_form_meta` table in the `confirmations` column as `json`, so the url will look like
javorszky [5 hours ago] `https:\/\/livesite.com\/confirmation-page`
We should better communicate this scenario in our documentation. In fact, it may be time for a dedicated document on search-replacing URLs in the database. Or even, create a dedicated wp search-replace url command, because replacing URLs is such a common use case.
cc @javorszky
- Dominant language
- Gherkin
- Stars
- 61
- Forks
- 47
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wp-cli/search-replace-command
-
bug command:search-replace scope:distribution state:unconfirmed
Difficulty 4/5 3-5 days Newbie friendliness 45/100
wp-cli/search-replace-command#231 · 5 comments ·
-
command:search-replace
Difficulty 5/5 Over a week Newbie friendliness 35/100
wp-cli/search-replace-command#194 · 1 comment ·
-
command:search-replace contributor-day
Difficulty 5/5 Over a week Newbie friendliness 25/100
wp-cli/search-replace-command#186 · 2 comments · 11 reactions ·
-
command:search-replace
Difficulty 4/5 3-5 days Newbie friendliness 35/100
wp-cli/search-replace-command#142 · 5 comments · 2 reactions ·
-
command:search-replace
Difficulty 3/5 1-2 days Newbie friendliness 52/100
wp-cli/search-replace-command#137 · 6 comments · 4 reactions ·
All issues in wp-cli/search-replace-command
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/navcontainerhelper#4217 ·
-
area/config comp/agent P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#118807 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·