[wp-edu] WordPress Multisite site names

Mike Little wordpress at zed1.com
Tue May 1 22:11:36 UTC 2012


On Tue, May 1, 2012 at 9:36 PM, Adam Norwood <ANorwood at law.utexas.edu>wrote:

> Hi Dave,****
>
> ** **
>
> Bill beat me to the punch, but as he says the size of the ‘path’ column in
> the database is limited to 100 characters. Does MySQL automatically
> truncate overly-long strings on INSERT? If not, I can’t find where this
> happen in the WordPress code -- Mike: where’s the code that sets the
> minimum length to 4? Maybe that’s where the truncation happens and I just
> haven’t found it yet? I’d be curious to know if there are any other regex
> rules that block special characters in the path, but as far as I know
> simple dashes are URL-safe.****
>
> **
>

In function wpmu_validate_blog_signup() which lives in file
wp-includes/ms-functions.php
Note if you are super admin it lets you do it anyway.

Mike
-- 
Mike Little
http://zed1.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-edu/attachments/20120501/8817d6f0/attachment.htm>


More information about the wp-edu mailing list