• I am entering in a referral link. Here is the code:

    <script type="text/javascript">
      var zfBaseURL=(("https:"==document.location.protocol)
                     ? "https://woothemes.zferral.com/"
                     : "http://woothemes.zferral.com/");
      document.write(unescape("%3Cscript src=" + zfBaseURL
      + " type=\"text/javascript\"%3E%3C/script%3E"));
    </script>

    It is being replaced with:

    <script type="text/javascript">
      var zfBaseURL=(("https:"==document.location.protocol)
                     ? "https://woothemes.zferral.com/mjs/40/34642"
                     : "http://woothemes.zferral.com/mjs/40/34642");
      document.write(unescape("%3Cscript src=" + zfBaseURL
      + " type="text/javascript"%3E%3C/script%3E"));
    </script>

    Notice it is stripping a \ before the “text/javascript…..on the bottom.

    The code in the original snippit validates fine. The code that AdSquares changes it to does not validate.

    http://wordpress.org/extend/plugins/ad-squares-widget/

  • The topic ‘[Plugin: Ad Squares Widget] AdSquares is modifying code’ is closed to new replies.