Skip Navigation

[Resolved] Cred forms inserting escape characters into JS

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by jamesH-10 5 years, 8 months ago.

Author
Posts
#1072394

I am trying to: Save JS Editor

Link to a page where the issue can be seen: Can provide in private

I expected to see: $("#serviceGrabber").multiselect("refresh");

Instead, I got: $(\"#serviceGrabber\").multiselect(\"refresh\");

When I save the page the quotes are being escaped in the JS Editor - breaking all of my JS. When I save again after that it looks like it is escaping the backslashes it added last time so it is exponentially escaping characters in the JS.

This happened only after updating all plugins.

Duplicator plugin is not permitted on the server where I host. I have backed up before updating plugins.

Cheers

#1072401
#1072420

Thanks Beda, just the words I wanted to see!

Cheers mate!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.