Ticket #34450: 34450.patch
File 34450.patch, 487 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/ms-blogs.php
84 84 return $blog_id; 85 85 86 86 if ( is_subdomain_install() ) { 87 $domain = $slug . '.' . $current_site->domain;87 $domain = $slug . '.' . preg_replace( '|^www\.|', '', $current_site->domain ); 88 88 $path = $current_site->path; 89 89 } else { 90 90 $domain = $current_site->domain;