688 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_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?