[wp-trac] [WordPress Trac] #23012: Refresh the code for the default widgets
WordPress Trac
noreply at wordpress.org
Sun Aug 30 05:37:55 UTC 2015
#23012: Refresh the code for the default widgets
--------------------------------------+------------------------
Reporter: Viper007Bond | Owner: chriscct7
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.4
Component: Widgets | Version: 3.5
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch | Focuses:
--------------------------------------+------------------------
Comment (by wonderboymusic):
In [changeset:"33814"]:
{{{
#!CommitTicketReference repository="" revision="33814"
Improve/update escaping in default widgets:
* wrap some variables in `esc_attr()` before echoing
* replace some `strip_tags()` calls with `sanitize_text_field()`
* call `esc_url()` when wrapping some URLs
Props welcher.
See #23012.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23012#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list