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

WordPress Trac noreply at wordpress.org
Fri Aug 16 18:40:33 UTC 2013


#20019: wpmu_validate_blog_signup(): Allow '.' and '-' in blog names
--------------------------+--------------------
 Reporter:  fo0bar        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Multisite     |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+--------------------

Comment (by tlovett1):

 I don't understand why wpmu_validate_blog_signup() doesn't allow "-" in
 blogname by default. wp-admin/network/site-new.php runs the domain against
 the following regex |^([a-zA-Z0-9-])+$|

 Perhaps blogname is different than domain name? Can anyone clear this up
 for me.

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


More information about the wp-trac mailing list