2.8 & wp_insert_post escaping characters (3 posts)

  1. AndreSC
    Posted 7 years ago #

    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. <img src=\'http://www.bookityourself.co.za/wp-content/uploads/dirman/Excelsior Manor Guesthouse02.gif\' width=\'400\' height=\'112\' border=\'0\' alt=\'pic1\' />

    I'm perplexed :-/

  2. Lars Koudal
    Posted 7 years ago #

    Hi, I am currently fighting the same problem, and I was wondering if you've figured something out (I can see you posted a week ago) ??

    I'll let you know if I figure something out myself :-)

  3. tommix
    Posted 6 years ago #

    so...unescape them :)

Topic Closed

This topic has been closed to new replies.

About this Topic