_rg_ says

Does anybody notice that on pages with comments, wp outputs this input field:

<input name="_wp_unfiltered_html_comment" id="_wp_unfiltered_html_comment" value="c4c2d2caed" type="hidden" />

and is not valid, since:

An ID attribute does not conform with the HTML document type specification. ID tokens must begin with a letter, and may contain only letters, digits, hyphens, underscores, colons, and periods.

I was looking in track and this is a known bug, but with no patch yet.

Does anybody knows a filter or hook or something that could fix that and make themes 100% valild?

:)

2 years ago