HTML Minify – Syntax error on WP login page
-
Hi guys,
WP login page throws Uncaught SyntaxError: Invalid or unexpected token when HTML minify is enabled, I’ve tested in different sites and all show same error when this option is enabled. I’ve disabled and works fine again. Also checked with sites running Ver. 5.7.6 and no problem.
List of Plugins
+------------------------------------+--------+-----------+---------+ | name | status | update | version | +------------------------------------+--------+-----------+---------+ | classic-editor | active | none | 1.6 | | cloudflare | active | none | 3.8.6 | | contact-form-7 | active | none | 5.3 | | cf7-conditional-fields | active | none | 1.9.14 | | contact-form-7-mailchimp-extension | active | none | 0.5.30 | | cookie-notice | active | none | 1.3.2 | | eut-corpus-vc-extension | active | none | 3.2 | | duplicate-page | active | none | 4.3 | | google-analytics-for-wordpress | active | none | 7.13.2 | | better-wp-security | active | none | 7.9.0 | | ithemes-sync | active | none | 2.1.7 | | post-smtp | active | none | 2.0.15 | | query-monitor | active | none | 3.6.5 | | sg-cachepress | active | none | 5.7.9 | | widget-importer-exporter | active | none | 1.6 | | js_composer | active | available | 6.4.1 | | wp-google-maps | active | none | 8.0.28 | | wordpress-seo | active | none | 15.3 | +------------------------------------+--------+-----------+---------+HTML Minify Disabled
<script type="text/javascript" id="zxcvbn-async-js-extra"><script type="text/javascript" src="https://www.twilleys.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp" id="jquery-core-js"></script> /* <![CDATA[ */ var _zxcvbnSettings = {"src":"https:\/\/www.mywebsite.com\/wp-includes\/js\/zxcvbn.min.js"}; /* ]]> */ </script>HTML Minify enabled
<script id="zxcvbn-async-js-extra">var _zxcvbnSettings={src:"https://www.mywebsite.com/wp-includes/js/zxcvbn.min.js"}</script>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘HTML Minify – Syntax error on WP login page’ is closed to new replies.