[wp-trac] [WordPress Trac] #30437: Escape title tag in 'admin_title' hook docs
WordPress Trac
noreply at wordpress.org
Fri Nov 21 07:08:50 UTC 2014
#30437: Escape title tag in 'admin_title' hook docs
----------------------------------+----------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: General | Version:
Severity: normal | Keywords: good-first-bug
Focuses: docs, administration |
----------------------------------+----------------------------
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 [source:tags/4.0.1/src/wp-includes/general-
template.php#L1173 wp_get_archives()].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30437>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list