• Resolved Damian

    (@timersys)


    Hi,
    We are having an issue that when Litespeed combine inline javascript it’s enabled the wp_localize_script variable is not showing and the script fails
    We added the javascript files to exclude js list and defer list but still not showing the variable name of localize_script

    Is there any way to exclude localize_script from inline combine?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    what is the output of it when you have LSCWP disabled?

    Best regards,

    Thread Starter Damian

    (@timersys)

    The output is

    <script id="wppopups-pro-js-js-extra">
    var wppopups_pro_vars = {"nonce":"cf813259d8","enable_stats":"0","ua_code":"UA-17982061-2","data_sampling":"0","post_id":"1765","l18n":{"wait":"Var sn\u00e4ll och v\u00e4nta lite","seconds":"sekunder"}};
    </script>
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please try add wppopups_pro_vars into JS exclude and defer JS exclude fields, then purge all

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    When re-open it, please also change the topic status to “not solved”

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp_localize_script not working with litespeed enabled’ is closed to new replies.