[wp-trac] [WordPress Trac] #20019: wpmu_validate_blog_signup(): Allow '.' and '-' in blog names

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 10 23:04:30 UTC 2012


#20019: wpmu_validate_blog_signup(): Allow '.' and '-' in blog names
-------------------------+-----------------------------
 Reporter:  fo0bar       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Multisite    |    Version:  3.3.1
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 Canonical uses Wordpress 3.x multisite as part of voices.canonical.com,
 for employees who do not have or wish to list their personal blog.  The
 code is stock, except for one patch we maintain, which allows blog names
 (currently in WP as lowercase alphanumeric only) to also include '.' and
 '-'.  This matches our global username format.

 Attached is a patch extending wpmu_validate_blog_signup() to allow '.' and
 '-', with a tweak for the error text.  We have been running the patch for
 awhile, and have not run across any problems with the rest of the code
 accepting this.

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


More information about the wp-trac mailing list