wpmu_validate_blog_signup(): Allow '.' and '-' in blog names
|Reported by:||fo0bar||Owned by:|
|Cc:||xoodrew@…, steve@…, leho@…|
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 (23)
comment:14 jeremyfelt — 4 months ago
- Keywords dev-feedback added; has-patch removed
- Milestone changed from Future Release to 3.7