WordPress.org

Ready to get started?Download WordPress

Forums

Slashes being stripped from post meta. (1 post)

  1. Warwick Booth
    Member
    Posted 2 years ago #

    Hi All

    I created a custom post type called "ad" where you paste an ad tag you get from ur ad server.

    On the add new page in the backend, I have disabled the editor so it just a custom write panel with a text area that shows. The tag is pasted into this box and saved.

    When the "ad" is first published, it strips the slashes from the tag that was pasted into the textarea. But if i edit the "ad" and re-enter the tag and save it doesnt.

    Is there anyway i can stop the slashes from being stripped on the publishing of the "ad".

    Publishing \/script
    Editing /script

Topic Closed

This topic has been closed to new replies.

About this Topic