Defer Javascript adds quotes wrong
-
Hello,
I noticed that speed booster pack adds defer= with the wrong quotes, which causes firewall issues on some sites.
<script src="http://site.com/wp-content/plugins/fast-velocity-minify/cache/header-883a1e27-1475597599.min.js' defer='defer" type="text/javascript"></script>Note the ‘ quote when it should a be ” at the end of the .js string.
This is a problem!
Simply changing line 432 in core.php from:
return "$url\" defer=\"defer";to
return "$url\" defer=\"defer";fixed the problem.
Thank you,
— Edward Haletky
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Defer Javascript adds quotes wrong’ is closed to new replies.