#30437 closed defect (bug) (fixed)
Escape title tag in 'admin_title' hook docs
| Reported by: | SergeyBiryukov | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs, administration |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 30502: