WordPress.org

Make WordPress Core

Ticket #17168: 17168.diff

File 17168.diff, 484 bytes (added by wpmuguru, 3 years ago)
  • wp-admin/network.php

     
    8787        if ( $existing_domain = network_domain_check() ) 
    8888                return $existing_domain; 
    8989        $domain = preg_replace( '|https?://|', '', get_option( 'siteurl' ) ); 
     90        $domain = strtolower( $domain ); 
    9091        if ( $slash = strpos( $domain, '/' ) ) 
    9192                $domain = substr( $domain, 0, $slash ); 
    9293        return $domain;