WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Does WP add slashes to The Loop's contents? (1 post)

  1. quetschke
    Member
    Posted 7 years ago #

    Hello!

    I wanted to replace a string in 'The Content' with a JavaScript-snippet. The filter I coded works very well, but there is one (big) problem:
    All single-quotes (') get escaped (\').

    Is this a function of WordPress?

    Thank you very much in advance.

    Best,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Topic