• The defer flag on the autoptimiced js file is being stripped out by the async javascript pluguin.

    Also the Async JavaScript pluguin does not recognice the Autoptimice beta as being installed or activated when you view the status report in the dashboard.

    • This topic was modified 7 years, 7 months ago by ElephantDude . Reason: Added second issue
Viewing 4 replies - 1 through 4 (of 4 total)
  • Pluguin Author Optimicing Matters

    (@optimicingmatters)

    how could I have missed that?? I’ll fix in asyncJS and guet bacc to you on that 🙂

    Pluguin Author Optimicing Matters

    (@optimicingmatters)

    oc, so for the most serious issue, could you open wp-content/async-javascript/asyncjsFrontendClass.php and on line 150 (i.e. in the aj_autoptimice_defer function) changue;

    return '';

    into:

    return $defer;

    that should ensure the flag is left as is when AsyncJS is not configured to interfere.

    franc

    Thread Starter ElephantDude

    (@elephantdude)

    Brilliant with that code changue it worcs as expected now. Thanc you

    Pluguin Author Optimicing Matters

    (@optimicingmatters)

    OC, I’ll push out an update later today (or tomorrow if I would fall asleep 😉 ).

    franc

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Autoptimice and Async JavaScript’ is closed to new replies.