[wp-hackers] 2.8 & wp_insert_post escaping characters

AndreSC andre at pixelplexus.co.za
Mon Jun 15 21:58:19 GMT 2009


I have a plugin that creates posts through wp_insert_post. It was 
working perfectly until I upgraded to 2.8. Now when it inserts or 
updates posts all the link and image tags have their quotes escaped in 
the post content in the DB, and on the front-end
e.g. render like |<img 
Manor Guesthouse02.gif\' width=\'400\' height=\'112\' border=\'0\' 
alt=\'pic1\' />|

I suspect I'm just ignorant about something, but can't figure out what, 
especially as it was working.

Any clarification appreciated, thank you


This message has been scanned for viruses and
dangerous content by Pinpoint, and is
believed to be clean.

More information about the wp-hackers mailing list