6 | | The create_new_blog() function uses sanitize_user() to sanitize the sitename, so the same filters used for users would be used for sites. But I am not seeing anywhere that there is a fallback to the actual username. During wpmu_validate_blog_signup() it checks new site names and does its own separate lower string check. |
| 6 | The create_new_blog() function uses sanitize_user() to sanitize the sitename, so the same filters used for users would be used for sites. |
| 7 | |
| 8 | So it might be a question of whether you would want to use the same validations for sites as users? Or should there be a separate sanitize_sitename()? |
| 9 | |
| 10 | But I am not seeing anywhere that there is a fallback to the actual username. During wpmu_validate_blog_signup() it checks new site names and does its own separate lower string check. |