#30437 closed defect (bug) (fixed)
Escape title tag in 'admin_title' hook docs
Reported by: | SergeyBiryukov | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | docs, administration | Cc: |
Description
See https://developer.wordpress.org/reference/hooks/admin_title/, which only displays half of the page due to the lack of escaping:
<p>Filter the <title> content for an admin page.</p>
Apparently we need to escape <title>
with backticks, like we do elsewhere, e.g. in wp_get_archives().
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 30502: