Ticket #17168: 17168.diff
File 17168.diff, 484 bytes (added by , 13 years ago) |
---|
-
wp-admin/network.php
87 87 if ( $existing_domain = network_domain_check() ) 88 88 return $existing_domain; 89 89 $domain = preg_replace( '|https?://|', '', get_option( 'siteurl' ) ); 90 $domain = strtolower( $domain ); 90 91 if ( $slash = strpos( $domain, '/' ) ) 91 92 $domain = substr( $domain, 0, $slash ); 92 93 return $domain;