Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#10120 closed feature request (wontfix)

Filter/hook to edit html tag at start of page

Reported by: adammw Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.8
Component: General Keywords: html xmlns lang xml:lang
Focuses: Cc:


There currently is no such filter/hook (to my knowledge) that would allow a plugin developer to add tags such as xmlns or xml:lang into the html tag at the start of the page. This hinders development of plugins which require this functionality.

Change History (1)

#1 @Denis-de-Bernardy
9 years ago

  • Milestone Unassigned deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Long before we'd even consider adding any of this, we'll add a wp_header hook immediately after the body tag. And then, we'd wait for a few years so it gets adopted.

Please use an output buffer on the wp or template_redirect hooks in the meanwhile.

Note: See TracTickets for help on using tickets.