[wp-trac] [WordPress Trac] #49190: Twenty Twenty: Remove unnecessary escaping for get_the_title()
WordPress Trac
noreply at wordpress.org
Sat Jan 25 22:04:21 UTC 2020
#49190: Twenty Twenty: Remove unnecessary escaping for get_the_title()
------------------------------+-----------------------------
Reporter: kjellr | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.4
Component: Bundled Theme | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"47110" 47110]:
{{{
#!CommitTicketReference repository="" revision="47110"
Twenty Twenty: Remove unnecessary escaping of `get_the_title()` in
`comments.php`.
For users with the `unfiltered_html` capability, titles can contain
legitimate markup.
The title is filtered on saving, so the content in the database is
considered safe.
Props kjellr, joyously, peterwilsoncc.
Fixes #49190.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49190#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list