[Support request] lightweight social icons javascript issue in french

Home Forums Support [Support request] lightweight social icons javascript issue in french

Home Forums Support lightweight social icons javascript issue in french

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #572172
    Silvère

    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.

    #572535
    Tom
    Lead Developer
    Lead Developer

    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! 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.