Opened 4 years ago
Closed 4 years ago
#10120 closed feature request (wontfix)
Filter/hook to edit html tag at start of page
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.8 |
| Severity: | minor | Keywords: | html xmlns lang xml:lang |
| Cc: |
Description
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)
- Milestone Unassigned deleted
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

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.