[wp-trac] [WordPress Trac] #34900: Improve unnecessary/false checks in sanitize_post_field()
WordPress Trac
noreply at wordpress.org
Sat Apr 16 14:51:04 UTC 2016
#34900: Improve unnecessary/false checks in sanitize_post_field()
-------------------------------+---------------------------
Reporter: tfrommen | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
-------------------------------+---------------------------
Changes (by boonebgorges):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"37220"]:
{{{
#!CommitTicketReference repository="" revision="37220"
In `sanitize_post_field()`, only run 'attribute' or 'js' escaping when
necessary.
Props tfrommen.
Fixes #34900.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34900#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list