Better communicate failure to search-replace JSON-serialized URLs
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- json
- 领域
- cli, database, documentation
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Gherkin
- 星标
- 61
- 派生
- 47
- 平均合并
- 8 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wp-cli/search-replace-command 的其他 Issue
-
bug command:search-replace scope:distribution state:unconfirmed
难度 4/5 3-5 天 新手友好度 45/100
wp-cli/search-replace-command#231 · 5 条评论 ·
-
command:search-replace
难度 5/5 一周以上 新手友好度 35/100
wp-cli/search-replace-command#194 · 1 条评论 ·
-
Introduce a dedicated `search-replace url` command可能重新可做 关联的 PR 已关闭且未合并。 未关闭command:search-replace contributor-day
难度 5/5 一周以上 新手友好度 25/100
wp-cli/search-replace-command#186 · 2 条评论 · 11 个 reaction ·
-
command:search-replace
难度 4/5 3-5 天 新手友好度 35/100
wp-cli/search-replace-command#142 · 5 条评论 · 2 个 reaction ·
-
command:search-replace
难度 3/5 1-2 天 新手友好度 52/100
wp-cli/search-replace-command#137 · 6 条评论 · 4 个 reaction ·
查看 wp-cli/search-replace-command 的全部 Issue
相似的 Issue
-
area/testing kind/bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
modelscope/ms-swift#10287 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Doist/todoist-cli#576 ·
维护者通常 1 天内回复