找了一大圈没有找到如何批量搜索和替换某个特定分类下文章内容和字符串的方法,只能用下面的来替换了。,代码:,UPDATE wp_posts SET post_content = replace(post_content,'format="5"','format="6"') where post_content like '%Swimsuit%' or post_content like '%secret%',
找了一大圈没有找到如何批量搜索和替换某个特定分类下文章内容和字符串的方法,只能用下面的来替换了。
代码:
UPDATE wp_posts SET post_content = replace(post_content,'format="5"','format="6"') where post_content like '%Swimsuit%' or post_content like '%secret%'
,
找了一大圈没有找到如何批量搜索和替换某个特定分类下文章内容和字符串的方法,只能用下面的来替换了。
代码:
UPDATE wp_posts SET post_content = replace(post_content,'format="5"','format="6"') where post_content like '%Swimsuit%' or post_content like '%secret%'
此处评论已关闭