[wp-trac] [WordPress Trac] #42461: Drop sanitize_text_field() for widget titles in forms
WordPress Trac
noreply at wordpress.org
Tue Jan 15 00:42:34 UTC 2019
#42461: Drop sanitize_text_field() for widget titles in forms
--------------------------+-----------------------------
Reporter: greenshady | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.1
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by pento):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"44589" 44589]:
{{{
#!CommitTicketReference repository="" revision="44589"
Widgets: Remove unnecessary `sanitize_text_field()` calls in core widget
`::form()` methods.
This sanitisation only needs to be run in `::update()` to correctly clean
up the input.
Props welcher, greenshady.
Fixes #42461.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42461#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list