Make WordPress Core

Ticket #17168: 17168.3.diff

File 17168.3.diff, 700 bytes (added by jeremyfelt, 10 years ago)
  • src/wp-admin/network/admin.php

     
    1515if ( ! is_multisite() )
    1616        wp_die( __( 'Multisite support is not enabled.' ) );
    1717
    18 $redirect_network_admin_request = ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) );
     18$redirect_network_admin_request = ( ( 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) ) || ( 0 !== strcasecmp( $current_blog->path, $current_site->path ) ) );
    1919/**
    2020 * Filter whether to redirect the request to the Network Admin.
    2121 *