• Resolved DickRaney

    (@dickraney)


    After installing AO and turning the optimization options, I still see all these scripts not being aggregated or minified. Why?

    script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/core.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/widget.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/tabs.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/mouse.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/resizable.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/draggable.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/button.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/position.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/dialog.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/datepicker.min.js' defer onload=''></script>
    <script type='text/javascript'>
    jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":0,"isRTL":false});});
    </script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/menu.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/wp-a11y.min.js' defer onload=''></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var uiAutocompleteL10n = {"noResults":"No results found.","oneResult":"1 result found. Use up and down arrow keys to navigate.","manyResults":"%d results found. Use up and down arrow keys to navigate.","itemSelected":"Item selected."};
    /* ]]> */
    </script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/jquery/ui/autocomplete.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-includes/js/admin-bar.min.js' defer onload=''></script>
    <script type='text/javascript' src='https://mydomain.com/wp-content/themes/mytheme/js/footer-scripts.js' defer onload=''></script>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    hey Dick;
    afraid I missed your post (didn’t get a mail notification), sorry about that. you seem to have *something* that is both;

    * adding defer onload=''
    * breaking AO

    I think the best way forward would be to systematically disable/ enable plugins to see which one is doing this.

    Feel free to follow up, I’d be interested in what is causing this myself ??

    Have a nice weekend!
    frank

    Thread Starter DickRaney

    (@dickraney)

    Ahh, I had a function that added defer onload=""

    I removed it and now those scripts are being combined and minified.

    Thanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Great! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Scripts not optimized’ is closed to new replies.