[wp-hackers] Wordpress 3.7.1 and html5 W3C validation

Thomas Scholz info at toscho.de
Mon Nov 18 21:19:03 UTC 2013


Olivier Baudry,

> It is not possible to have a valid wordpress website with wordpress
> html5, indeed, there is a conflict between the first line of code in the
> header php theme_compat included in the folder (wp-includes) and themes
> that can be developed that it would be well to provide these w3C
> compatible files or delete the whole record, and finally assurrer
> compatibility and recognition and validation by the W3C in effect

theme-compat is for old, broken themes. You will never use it in a modern  
theme. If you try to use them, you will get a notice.

These files have to stay as they are now for compatibility (hence the  
name). Just ignore the files, write and use regular themes.

Thomas


More information about the wp-hackers mailing list