[wp-trac] [WordPress Trac] #54987: Check if 'user_nicename' is not too long after the 'pre_user_nicename' filter

WordPress Trac noreply at wordpress.org
Fri Mar 18 20:42:57 UTC 2022


#54987: Check if 'user_nicename' is not too long after the 'pre_user_nicename'
filter
--------------------------------------+----------------------------
 Reporter:  SergeyBiryukov            |       Owner:  davidbaumwald
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.0
Component:  Users                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+----------------------------
Changes (by davidbaumwald):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52954" 52954]:
 {{{
 #!CommitTicketReference repository="" revision="52954"
 Users: Check maximum length of `user_nicename` after filters are applied.

 Similar to other checks on `user_login` and `user_url`, this change moves
 the maximum length check on `user_nicename` after the `pre_user_nicename`
 filter has been applied, to account for any changes to the value prior to
 saving.

 Props SergeyBiryukov, ravipatel, muhammadfaizanhaidar, mukesh27,
 csesumonpro, azouamauriac.
 Fixes #54987.
 }}}

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


More information about the wp-trac mailing list