[wp-hackers] wordpress fully html5 compatible

Otto otto at ottodestruct.com
Sat Nov 16 22:53:17 UTC 2013


On Sat, Nov 16, 2013 at 4:50 PM, Olivier Baudry <
olivierbaudry.eba at hotmail.fr> wrote:

> It will be great to have wordpress fully html5 compatible, actually with
> files inside theme-compat folder in wp-includes folder seems to make
> trouble with header file of theme. It will be better to have doctype
> html5 with charset UT8.
>

The files in the theme-compat directory are there for backwards
compatibility with older themes only. Newer themes should include their own
header.php files and the like.

As they're meant for backwards compatibility, changing them to use modern
doctypes and HTML5 doesn't make a lot of sense. Only older themes, which
did not use those things, would still be using the theme-compat files.

-Otto


More information about the wp-hackers mailing list