« Return to Thread: 2.8 & wp_insert_post escaping characters

2.8 & wp_insert_post escaping characters

by Andre SC-2 :: Rate this Message:

Reply to Author | View in Thread

Hi

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
src=\'http://www.bookityourself.co.za/wp-content/uploads/dirman/Excelsior 
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

André


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

_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers

 « Return to Thread: 2.8 & wp_insert_post escaping characters