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

WordPress Trac noreply at wordpress.org
Fri Mar 17 16:48:50 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:  has-patch has-unit-tests 2nd-opinion  |     Focuses:  multisite
--------------------------------------------------+------------------------
Changes (by flixos90):

 * keywords:  needs-dev-note has-patch has-unit-tests 2nd-opinion => has-
     patch has-unit-tests 2nd-opinion


Comment:

 [attachment:39676.2.diff] uses the `wpmu_validate_blog_signup` filter to
 re-add the behavior in a way that it can easily be unhooked.

 What we have to think about is the `is_super_admin()` check as we should
 get rid of it in some way (see #37616). We might be able to strip it out,
 since allowing a super admin to use shorter names should be an edge-case,
 and it would now be possible via a custom filter (it currently is not
 included in the patch). If we want to retain a 100% BC, we would need to
 find another existing or new capability to use instead.

 I'm removing the `needs-dev-note` keyword, as we don't need one here
 anymore since we don't actually remove the behavior.

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


More information about the wp-trac mailing list