Saltar navegación

[Resuelto] JS Editor: added "\" characters everytime I save the form

This support ticket is created hace 6 años, 6 meses. 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.

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por PiotrO586 hace 6 años, 6 meses.

Autor
Mensajes
#951632

Hi,

I have a form with some js. Weirdly, every time I save the form I see additional "\" characters added to the code, e.g., before:

jQuery('input[name=wpcf-quantity]').change(calculate_price);

after form is saved twice:

jQuery(\\\'input[name=wpcf-quantity]\\\').change(calculate_price);

I am not sure when exactly it started, I'm sure it worked some time ago. Recently I updated Toolset plugins, so this is why I am reporting the issue here. I deactivated a few recently added plugins, but it didn't change anything. Maybe the js notation I use is wrong?

#952051
#952163
#1070174

Thank you, Beda, hopefully this fix will be introduced into subsequent update.