Remove restriction of minimum site title length of 4 characters
|Reported by:||flixos90||Owned by:||flixos90|
|Component:||Networks and Sites||Keywords:||has-patch has-unit-tests dev-feedback|
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 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.
Change History (18)
- Keywords 2nd-opinion added
- Resolution fixed deleted
- Status changed from closed to reopened
- Keywords needs-patch needs-unit-tests added; has-patch has-unit-tests 2nd-opinion removed