[wp-trac] [WordPress Trac] #54277: values within loop should be escaped properly before echo `wp-admin/theme-install.php`
WordPress Trac
noreply at wordpress.org
Wed Oct 20 19:17:14 UTC 2021
#54277: values within loop should be escaped properly before echo `wp-admin/theme-
install.php`
--------------------------+-------------------------------
Reporter: sabbirshouvo | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: coding-standards
--------------------------+-------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"51923" 51923]:
{{{
#!CommitTicketReference repository="" revision="51923"
Coding Standards: Improve escaping in `wp-admin/theme-install.php`.
* Rename a duplicate `$feature_name` variable to `$feature_group` for
clarity.
* Escape the remaining `$feature_name` variable.
Follow-up to [27636], [35273].
Props sabbirshouvo, sabernhardt, mukesh27, afragen.
Fixes #54277.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54277#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list