Anyone know the SQL to copy post_title to post_content where post_content is empty for all and only posts in wordpress
Thanks for any pointers in advance Richard
Anyone know the SQL to copy post_title to post_content where post_content is empty for all and only posts in wordpress
Thanks for any pointers in advance Richard
Share Improve this question asked May 13, 2019 at 12:52 frank roburoughfrank roburough 32 bronze badges1 Answer
Reset to default 0This isn't really about WordPress, however you want:
UPDATE wp_posts SET post_content = post_title WHERE post_content= "" AND post_type = 'post';