wpmu_validate_blog_signup(): Allow '.' and '-' in blog names
|Reported by:||fo0bar||Owned by:|
|Component:||Login and Registration||Keywords:||dev-feedback needs-patch|
Canonical uses Wordpress 3.x multisite as part of voices.canonical.com, for employees who do not have or wish to list their personal blog. The code is stock, except for one patch we maintain, which allows blog names (currently in WP as lowercase alphanumeric only) to also include '.' and '-'. This matches our global username format.
Attached is a patch extending wpmu_validate_blog_signup() to allow '.' and '-', with a tweak for the error text. We have been running the patch for awhile, and have not run across any problems with the rest of the code accepting this.
Change History (25)
comment:14 @jeremyfelt — 20 months ago
- Keywords dev-feedback added; has-patch removed
- Milestone changed from Future Release to 3.7
comment:15 follow-up: ↓ 24 @tlovett1 — 20 months ago
comment:22 @jeremyfelt — 19 months ago
- Keywords needs-patch added
- Milestone changed from 3.7 to Future Release
comment:23 @jeremyfelt — 14 months ago
- Component changed from Multisite to Login and Registration
- Focuses multisite added