WordPress.org

Make WordPress Core

Ticket #34844: 34844.patch

File 34844.patch, 366 bytes (added by mordauk, 5 years ago)
  • wp-includes/ms-load.php

     
    191191                array_pop( $path_segments );
    192192        }
    193193
    194         $paths[] = '/';
     194        if( empty( $paths ) ) {
     195                $paths[] = '/';
     196        }
    195197
    196198        /**
    197199         * Determine a site by its domain and path.