[Resolved] Cred forms inserting escape characters into JS

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 1 year, 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

Beda
Supporter

Languages: English (English ) Spanish (EspaƱol ) German (Deutsch )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

#1072420

Thanks Beda, just the words I wanted to see!

Cheers mate!