[wp-trac] [WordPress Trac] #17904: Multisite has more restrictions on user login character set

WordPress Trac noreply at wordpress.org
Wed Aug 24 10:47:11 UTC 2016


#17904: Multisite has more restrictions on user login character set
--------------------------------------------+-----------------------------
 Reporter:  duck_                           |       Owner:  jeremyfelt
     Type:  defect (bug)                    |      Status:  assigned
 Priority:  normal                          |   Milestone:  Future Release
Component:  Login and Registration          |     Version:  3.0
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests early  |     Focuses:  multisite
--------------------------------------------+-----------------------------

Comment (by FolioVision):

 It's great to see the development here as we would like to customize the
 username restrictions present in WordPress Multisite signups. When you
 enter anything except {{{a-z}}} or {{{0-9}}} you get:

 > Only lowercase letters (a-z) and numbers are allowed.

 As @Ipstenu  said, these restrictions are there to make sure the user
 blogs have nice URLs, but the '''UX loss''' is too big.

 Above I attached another revision of the patch 17904.6.diff which removes
 the user name lowercase and no spaces requirements of Multisite (in
 {{{wp_validate_user_login()}}} and wp-includes/ms-default-filters.php),
 but still respects that when creating the new blog URL (wp-signup.php).

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


More information about the wp-trac mailing list