2

This code was being flagged on my Wordpress website:

<script type='text/javascript' src='http://www.publictalksoftware.co.uk/wp-content/plugins/simple-download-monitor/js/sdm_g_recaptcha.js?ver=1'></script>
<script type='text/javascript' src='//www.google.com/recaptcha/api.js?hl=en_GB&onload=sdm_reCaptcha&render=explicit&ver=4.9.5'></script>

The error:

Media type “text/javascript” is obsolete, recommend “application/javascript” instead.

I contacted the plugin author and they stated that the final HTML code was generated by wp_enqueue_script. So, is there any way to rectify this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.