Forums

Javascript in pages gets commented (2 posts)

  1. pegasusteam
    Member
    Posted 4 years ago #

    I am trying to make a page using a javascript for affiliate products. It worked fine in 2.0.6 but in 2.2 it gets commented as in:
    <script type='text/javascript' src='http://www.affdomain...

    turns into:
    <script type=\\'text/javascript' src=\\'http://www.affdomain...

    Is there a file I can edit to stop wordpress from putting in the backslashes?
    Thanks,
    Ron

  2. macbrink
    Member
    Posted 4 years ago #

    You could use the inline-js plugin.
    http://www.ooso.net/index.php/inline-js

Topic Closed

This topic has been closed to new replies.

About this Topic