Title: [Plugin: Acronyms 2] HTML5 detection
Last modified: August 20, 2016

---

# [Plugin: Acronyms 2] HTML5 detection

 *  [Jon Scaife](https://wordpress.org/support/users/jonscaife/)
 * (@jonscaife)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-acronyms-2-html5-detection/)
 * 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](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?
    Thanks
 * [http://wordpress.org/extend/plugins/acronyms-2/](http://wordpress.org/extend/plugins/acronyms-2/)

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

 *  Plugin Author [Chris](https://wordpress.org/support/users/renaissancedesign/)
 * (@renaissancedesign)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-acronyms-2-html5-detection/#post-2849650)
 * Good catch, will roll that into the next update.
 *  [Erlend](https://wordpress.org/support/users/sadr/)
 * (@sadr)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-acronyms-2-html5-detection/#post-2849673)
 * We’re evaluating this plugin for use on our website. Would greatly appreciate
   it if this patch was applied.

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

The topic ‘[Plugin: Acronyms 2] HTML5 detection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/acronyms-2_f8f8f8.svg)
 * [Acronyms 2](https://wordpress.org/plugins/acronyms-2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acronyms-2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acronyms-2/)
 * [Active Topics](https://wordpress.org/support/plugin/acronyms-2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acronyms-2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acronyms-2/reviews/)

## Tags

 * [case-sensitive](https://wordpress.org/support/topic-tag/case-sensitive/)
 * [doctype](https://wordpress.org/support/topic-tag/doctype/)
 * [html5](https://wordpress.org/support/topic-tag/html5/)

 * 2 replies
 * 3 participants
 * Last reply from: [Erlend](https://wordpress.org/support/users/sadr/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-acronyms-2-html5-detection/#post-2849673)
 * Status: not resolved