WordPress.org

Make WordPress Core

Changeset 16848


Ignore:
Timestamp:
12/09/2010 07:29:00 PM (8 years ago)
Author:
ryan
Message:

Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r16822 r16848  
    844844
    845845function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id = 1) {
    846     $domain = preg_replace( '/\s+/', '', sanitize_key( $domain ) );
     846    $domain = preg_replace( '/\s+/', '', sanitize_user( $domain, true ) );
    847847
    848848    if ( is_subdomain_install() )
Note: See TracChangeset for help on using the changeset viewer.