[wp-trac] [WordPress Trac] #28369: Replace @ with a hyphen in user_nicename

WordPress Trac noreply at wordpress.org
Tue Mar 3 19:16:00 UTC 2015


#28369: Replace @ with a hyphen in user_nicename
----------------------------+------------------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  low             |   Milestone:  Awaiting Review
Component:  Users           |     Version:
 Severity:  minor           |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by MikeHansenMe):

 This looks to be caused by

 https://core.trac.wordpress.org/browser/tags/4.1.1/src/wp-
 includes/user.php#L1750

 Which has been around in some form for a long time.

 https://github.com/WordPress/WordPress/blob/2.0-branch/wp-includes
 /registration-functions.php#L42

 We can either remove the use of sanitize_title or alter sanitize_title,
 however it is used all over core and may cause issues elsewhere. The
 nicename is run through sanitize_user prior in the same function.

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


More information about the wp-trac mailing list