WordPress.org

Ready to get started?Download WordPress

Forums

Acronyms 2
HTML5 detection (3 posts)

  1. Jon Scaife
    Member
    Posted 2 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?
    Thanks

    http://wordpress.org/extend/plugins/acronyms-2/

  2. Chris
    Member
    Plugin Author

    Posted 1 year ago #

    Good catch, will roll that into the next update.

  3. Erlend Sogge Heggen
    Member
    Posted 1 year 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

About this Topic