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

WordPress Trac noreply at wordpress.org
Fri Jun 6 20:15:50 UTC 2014


#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 gauravmittal1995):

 In the '''sanitize_user()''' , we can check for an '''"@"''' in the
 beginning, and replace it with an '''"-"'''.

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


More information about the wp-trac mailing list