Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Michael Cannon

    (@comprock)

    Line 642 above, should be for 652. Sorry. defer async or whatever isn’t needed on local script calls.

    PLR DAILY

    (@lokaalvindbaarnl)

    Line 652 thanks in advance…like this???

    echo “<script async type=’text/javascript’>” src=”‘ . $url . ‘”>’ . ($is_cache ? ‘/*Cache!*/’ : ”) . $error_message . ‘</script>’ . “\n”;

    if ($conditional) {
    echo “<![endif]–>” . “\n”;
    }
    }

    Thank you,????

    Michael

    This is what i get when i try that.
    `
    Parse error: syntax error, unexpected ‘src’ (T_STRING), expecting ‘,’ or ‘;’ in /home2/ytadvise/public_html/wp-content/plugins/js-css-script-optimizer/js-css-script-optimizer.php on line 652

    http://yourtechadvisors.com

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

The topic ‘async JavaScript source’ is closed to new replies.