WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. quetschke
    Member
    Posted 9 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