How to fix JetPack and Autoptimize script loading problem
-
When I use JetPack and Autoptimize and Async JavaScript these scripts are added by Jetpack:
<script type='text/javascript' src='http://s1.wp.com/wp-content/mu-plugins/notes/notes-common-v2.js'></script>
<script type='text/javascript' src='http://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.js'></script>When logged in only, I see these errors in the Chrome developer console.
Uncaught ReferenceError: Backbone is not defined
at http://s1.wp.com/wp-content/mu-plugins/notes/notes-common-v2.js
at http://s1.wp.com/wp-content/mu-plugins/notes/notes-common-v2.js?Uncaught ReferenceError: _ is not defined
at http://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.jsWhen I disable Autoptimize off there are no errors.
How do I tell Autoptimize to leave these two scripts as is? I see what to do for scripts on our server, but not external ones such as shown here.
The topic ‘How to fix JetPack and Autoptimize script loading problem’ is closed to new replies.