Title: W3C validator
Last modified: July 29, 2021

---

# W3C validator

 *  Resolved [Jeffinho2016](https://wordpress.org/support/users/jeffinho2016/)
 * (@jeffinho2016)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/w3c-validator-4/)
 * WP Ajaxify Comments output html does not pass the W3C validator.
    Reason: Please
   change <script type=”text/javascript”> into <script> This happens even if we 
   have enabled html5 support for <script> and <style> tags. Culprit: the script
   that contains the localized js data and starts with if (!window[“WPAC”]) var 
   WPAC = {};WPAC._Options =. While the JavaScript MIME type doesn’t do much harm,
   it is redundant and only useful for IE8 and below (12-years old browser). Maybe
   you could check if the user has enabled html5 support through “add_theme_support(‘
   html5’, array( ‘script’, ‘style’ ) );” and prevent the “type=’text/javascript'”
   from outputing?

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

 *  [weweave](https://wordpress.org/support/users/weweave/)
 * (@weweave)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/w3c-validator-4/#post-14797181)
 * Thanks [@jeffinho2016](https://wordpress.org/support/users/jeffinho2016/) for
   the information and sorry for the late reply. We will provide an updated version
   soon.
 *  [weweave](https://wordpress.org/support/users/weweave/)
 * (@weweave)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/w3c-validator-4/#post-15134152)
 * Hi [@jeffinho2016](https://wordpress.org/support/users/jeffinho2016/),
 * Sorry for the late reply. We just released WP Ajaxify Comments 1.7.4, which renders
   the <script> tags HTML5 compliant if the script supports HTML5 (via the mentioned
   add_theme_support() function).
 * Best regards
    Jan

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

The topic ‘W3C validator’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [weweave](https://wordpress.org/support/users/weweave/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/w3c-validator-4/#post-15134152)
 * Status: resolved