MySQL search and replace syntax error

后端 未结 2 1159
渐次进展
渐次进展 2021-01-27 17:45

I have the following query and get the below error message:

update `wp_posts` set  `post_excerpt` = replace( `post_excerpt`, \"[av_font_icon icon=\'ue82d\' font=         


        
2条回答
  •  春和景丽
    2021-01-27 18:13

    Why don't you use the "Database Search And Replace Script In PHP"? All you have to do is place it in the root folder and run it in your browser. https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    That's what I use and have never had a problem. Just make sure to make a back up just in case.

    Run a search for the short code and replace it with an empty field.

提交回复
热议问题