[wp-trac] [WordPress Trac] #20009: Escape later when getting post and body classes
WordPress Trac
noreply at wordpress.org
Tue Jun 16 16:55:59 UTC 2020
#20009: Escape later when getting post and body classes
-------------------------------------+------------------------
Reporter: mfields | Owner: whyisjake
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------
Changes (by whyisjake):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48060" 48060]:
{{{
#!CommitTicketReference repository="" revision="48060"
Themes: Add additional later escaping to `post_class()` and `body_class()`
functions.
Additionally, this adds a few tests to test output.
Fixes #20009.
Props mfields, scribu, azaozz, obenland, dd32, nacin, jrf, jdgrimes,
garyj, whyisjake.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20009#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list