[wp-trac] [WordPress Trac] #20176: Allowing the Developer Filter the Regex on wpmu_validate_user_signup()

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 4 23:03:53 UTC 2012


#20176: Allowing the Developer Filter the Regex on wpmu_validate_user_signup()
-------------------------+-----------------------------
 Reporter:  webord       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Multisite    |    Version:  3.4
 Severity:  normal       |   Keywords:  dev-feedback
-------------------------+-----------------------------
 So I've been having a problem with the way WordPress Multisite handles the
 restriction for new users.

 Looking at the file ''ms-functions.php'', I saw no Filter to the regular
 expression applied on the user_name to do it's validation.

 I've changed like this, so by default you will be restricted to the
 ''[a-z0-9]'' pattern, but if needed the developer should have the power to
 filter that.

 This might need a patch for the domains.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20176>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list