Title: Plugin adds backslashes
Last modified: August 30, 2016

---

# Plugin adds backslashes

 *  Resolved [winnewoerp](https://wordpress.org/support/users/joschi81/)
 * (@joschi81)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/plugin-adds-backslashes/)
 * 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/](https://wordpress.org/plugins/tc-custom-javascript/)

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

 *  Plugin Author [Tiny Code](https://wordpress.org/support/users/tinycode/)
 * (@tinycode)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/plugin-adds-backslashes/#post-6599686)
 * 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 [winnewoerp](https://wordpress.org/support/users/joschi81/)
 * (@joschi81)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/plugin-adds-backslashes/#post-6599695)
 * 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.

 * ![](https://ps.w.org/tc-custom-javascript/assets/icon-256x256.png?rev=1144538)
 * [TC Custom JavaScript](https://wordpress.org/plugins/tc-custom-javascript/)
 * [Support Threads](https://wordpress.org/support/plugin/tc-custom-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/tc-custom-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tc-custom-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/)

## Tags

 * [backslashes](https://wordpress.org/support/topic-tag/backslashes/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 2 participants
 * Last reply from: [winnewoerp](https://wordpress.org/support/users/joschi81/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/plugin-adds-backslashes/#post-6599695)
 * Status: resolved