Ticket #14910: key-instead-of-user-in-ms-functions.patch
File key-instead-of-user-in-ms-functions.patch, 540 bytes (added by , 14 years ago) |
---|
-
wp-includes/ms-functions.php
843 843 } 844 844 845 845 function wpmu_create_blog($domain, $path, $title, $user_id, $meta = '', $site_id = 1) { 846 $domain = preg_replace( '/\s+/', '', sanitize_ user( $domain, true) );846 $domain = preg_replace( '/\s+/', '', sanitize_key( $domain ) ); 847 847 848 848 if ( is_subdomain_install() ) 849 849 $domain = str_replace( '@', '', $domain );