[wp-trac] [WordPress Trac] #39676: Remove restriction of minimum site title length of 4 characters
WordPress Trac
noreply at wordpress.org
Tue Jan 24 13:39:08 UTC 2017
#39676: Remove restriction of minimum site title length of 4 characters
-------------------------+-------------------------------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Networks | Version:
and Sites | Keywords: needs-patch needs-unit-tests needs-
Severity: normal | dev-note
Focuses: multisite |
-------------------------+-------------------------------------------------
Currently `wpmu_validate_blog_signup()` does not allow specification of
sites with titles shorter than 4 characters.
We discussed this restriction while dealing with #37616, and came to the
conclusion that it should be removed, since sometimes there are cases
where shorter names should be allowed. For setups that need the current
requirement, it is easily possible to re-add it by using the
`wpmu_validate_blog_signup` filter (see the
[https://wordpress.slack.com/archives/core-multisite/p1480442803001226
full discussion on Slack]).
While this change is backward-incompatible for people that rely on that
requirement, it's not too critical to remove. We will still need to
mention it in a dev-note, including the workaround that re-enables the
check.
Unit tests for `wpmu_validate_blog_signup()` should also be added as part
of this change.
As part of the #37616 task, this ticket represents number 16 of that
ticket's list.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39676>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list