[wp-trac] [WordPress Trac] #39676: Remove restriction of minimum site title length of 4 characters

WordPress Trac noreply at wordpress.org
Fri Mar 17 15:33:13 UTC 2017


#39676: Remove restriction of minimum site title length of 4 characters
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  4.8
Component:  Networks and Sites                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-dev-note has-patch has-unit-   |     Focuses:  multisite
  tests 2nd-opinion                              |
-------------------------------------------------+-------------------------
Changes (by johnjamesjacoby):

 * keywords:  needs-dev-note has-patch has-unit-tests => needs-dev-note has-
     patch has-unit-tests 2nd-opinion
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I agree with this change, but am worried about backwards compatibility, so
 I'm reopening to have more discussion, and frankly, get this ticket a few
 more eyes and opinions.

 I think core should (at least) have a default filter on
 `wpmu_validate_blog_signup` to retain the existing 4-character limit.

 If this rolls out as-is (allowing 1 character subdomain creation) every
 popular sub-domain install with open registration will instantly have a
 flood of 1/2/3 character subdomain sign-ups, which are sure to collide
 with popularly used subdomains (`cdn.`, `src.`, `dev.`, etc…)

 And since subdomains with fewer than 4 characters were previously
 prevented by WordPress, it’s unlikely anyone running a subdomain multisite
 installation would have put additional precautions in place in another
 layer or system.

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


More information about the wp-trac mailing list