• Resolved Imagewinnewoerp

    (@joschi81)


    Hi,

    pretty cool plugin, thanks! There’s only one problem I have within one WP installation: The plugin automatically adds backslashes to quotes.

    So this

    var $ = jQuery;
    
    $(document).ready(function(){
      	alert("test");
    });

    is being saved like this

    var $ = jQuery;
    
    $(document).ready(function(){
      	alert(\"test\");
    });

    and the code is not working.

    Any idea/solution?

    Best regards
    joschi81

    https://wordpress.org/plugins/tc-custom-javascript/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ImageTiny Code

    (@tinycode)

    Thank you for using my plugin. I think backslashes automatically added because of Magic quotes setting of PHP. I have released new version to resolve this problem. Please update to the latest version (1.0.3).

    If you still have any problem please give me a feedback and I will support you.

    Best regards
    Tiny Code studio

    Thread Starter Imagewinnewoerp

    (@joschi81)

    Thank you, works perfectly! I marked this topic as resolved.

    Best regards
    joschi81

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin adds backslashes’ is closed to new replies.