Acronyms 2
HTML5 detection (3 posts)

  1. Jon Scaife
    Posted 3 years ago #

    The plugin detects my theme as not being HTML5, even though the theme IS HTML5. After a bit of digging I discovered that this is because the check you use checks for <!DOCTYPE html> in header.php whilst my theme had <!doctype html>. The check you are doing is case sensitive - but according to the notes on w3schools (http://www.w3schools.com/html5/tag_doctype.asp) the doctype declaration is not case sensitive. I've changed my header file, but to avoid this happening to anyone else could you tweak your check so that it is no longer case sensitive?


  2. Chris
    Plugin Author

    Posted 3 years ago #

    Good catch, will roll that into the next update.

  3. Erlend Sogge Heggen
    Posted 3 years ago #

    We're evaluating this plugin for use on our website. Would greatly appreciate it if this patch was applied.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Acronyms 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic