Support » Plugin: Acronyms 2 » [Plugin: Acronyms 2] HTML5 detection

  • Jon Scaife


    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 ( 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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Acronyms 2] HTML5 detection’ is closed to new replies.