[wp-trac] [WordPress Trac] #57712: Suggestion for code comment in sanitize_user()
WordPress Trac
noreply at wordpress.org
Wed Feb 15 13:04:21 UTC 2023
#57712: Suggestion for code comment in sanitize_user()
--------------------------------------+-----------------------------
Reporter: ace100 | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.2
Component: Users | Version:
Severity: minor | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"55346" 55346]:
{{{
#!CommitTicketReference repository="" revision="55346"
Docs: Improve code comments in some sanitizing functions.
This aims to clarify a few inline comments related to removing percent-
encoded characters and HTML entities.
Affected functions:
* `sanitize_user()`
* `sanitize_title_with_dashes()`
* `sanitize_html_class()`
* `_sanitize_text_fields()`
* `get_comments_number_text()`
Follow-up to [465], [3454], [11433], [12503], [37987].
Props ace100, tanjimtc71, codemonksuvro, SergeyBiryukov.
Fixes #57712.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57712#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list