Content breaking wp_insert_post
-
I’m using wp_insert_post to pull in old news stories after converting a site to WP. When pulling the content into post_content it seems some characters will break it causing the content to cut off and stop at that character. One such character I’ve confirmed is — m dash. I’ve tried adding $wpdb->escape($content), but it is still cutting it off.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Content breaking wp_insert_post’ is closed to new replies.