[wp-trac] [WordPress Trac] #49833: Twenty Twenty: HTML in featured image caption is being escaped
WordPress Trac
noreply at wordpress.org
Tue Jun 9 19:50:40 UTC 2020
#49833: Twenty Twenty: HTML in featured image caption is being escaped
-------------------------------------------------+-------------------------
Reporter: pierlo | Owner:
| ianbelanger
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: Bundled Theme | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch good-first-bug has- | Focuses:
screenshots commit |
-------------------------------------------------+-------------------------
Changes (by ianbelanger):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"47940" 47940]:
{{{
#!CommitTicketReference repository="" revision="47940"
Bundled Themes: Twenty Twenty HTML in featured image caption is being
escaped.
Fixes the issue by replacing `esc_html` with `wp_kses_post` in the caption
in featured images.
Props pierlo, JavierCasares, audrasjb.
Fixes #49833.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49833#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list