WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Search in Place] not compatible with Script Gzip

[Resolved] [Plugin: Search in Place] not compatible with Script Gzip

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    @codepeople

    Hi,

    The issue with the “scripts-gzip” plugin is simple. The “scripts-gzip” plugin combines all javascript files and sets only one script tag at beginning of head tag, that’s a trouble for all extensions that use the WordPress’s function: wp_localize_script to create global javascript variables, because this variables are not present when the script is loaded.

    I’ve modified the codepeople_search_in_place.js file to avoid this issue, please download this file again.

    My recommendation, for the scripts-gzip plugin developers, is move the script tag generated on the plugin before close the body tag.

    Best regards.

    Thank you. I will tell it to the Scripts Gzip developer. Maybe he will update his plugin 🙂

    Well, it does not seem to do the trick. Not a problem, I decided to desactivate Scripts Gzip for the moment.

    You were right: the updated plugin is compatible with Scripts Gzip. I just did not update it correctly. Sorry for that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Search in Place] not compatible with Script Gzip’ is closed to new replies.