Site logo

Archived topic

lightweight social icons javascript issue in french

1 reply · Started by Silvère on May 10, 2018

Viewing posts 1–2 of 2

Hi Tom,

I have a javascript issue with the french translate. In some strings, in french there is a single quote. We need to escape it or use double quote as string delimiter.

In the generated "widget.php" file :
Console capture

In "lightweight-social-icons.php" file, I fix it with double quotes :
The fix

Thanks again for all your work.

Hi there,

We're aware of the issue and will be releasing a fix soon.

For now, you can use double quotes, or you can replace <?php _e on that line with <?php esc_attr_e.

Thank you! :)

This archived topic is closed to new replies.