Make WordPress Core

Ticket #28273: 28273-alternate.patch

File 28273-alternate.patch, 340 bytes (added by JPry, 10 years ago)

Alternate method of fixing the reported issue

  • src/wp-includes/ms-load.php

    diff --git src/wp-includes/ms-load.php src/wp-includes/ms-load.php
    index 02224bd..36e578c 100644
    function get_site_by_path( $domain, $path, $segments = null ) { 
    314314        }
    315315
    316316        $paths[] = '/';
     317        $paths[] = '';
    317318
    318319        /**
    319320         * Determine a site by its domain and path.