最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wp cli - What could cause WP-CLI search-replace to not replace all instances of a string?

programmeradmin0浏览0评论

We're migrating a site from dev to production using wp-cli to replace all occurrences in the database for the url, just like in the search-replace example. ( to )

wp search-replace finds and replaces all occurrences that it reported finding. However, there are still many lingering in the database, especially in serialized data. But, WP-CLI says that it handles serialized data as well.

If I run wp db search '' --all-tables I get 20 more occurrences of the string. If I run wp search-replace with the --all-tables flag it still finds 0.

What could be causing it to not find these lingering instances of the string, and how I can also get them to be included in search-replace?

发布评论

评论列表(0)

  1. 暂无评论