[wp-trac] [WordPress Trac] #57712: Suggestion for code comment in sanitize_user()

WordPress Trac noreply at wordpress.org
Tue Feb 14 14:25:43 UTC 2023


#57712: Suggestion for code comment in sanitize_user()
----------------------------------------+---------------------
 Reporter:  ace100                      |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  6.2
Component:  Users                       |     Version:
 Severity:  minor                       |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs
----------------------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch good-first-bug
 * focuses:   => docs
 * milestone:  Awaiting Review => 6.2


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 Yes, that sounds like a better comment. Would you be interested in
 [https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
 creating a patch]?

 Additionally, the "Kill entities" comment directly below can probably be
 replaced with "Remove HTML entities".

 Moving to 6.2, as this only affects code comments and can still be
 committed in beta.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57712#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list