Ticket #26403: 26403.2.diff
File 26403.2.diff, 556 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/ms-settings.php
if ( !isset( $current_site ) || !isset( $current_blog ) ) { 40 40 41 41 $path = preg_replace( '|([a-z0-9-]+.php.*)|', '', $_SERVER['REQUEST_URI'] ); 42 42 $path = str_replace ( '/wp-admin/', '/', $path ); 43 $path = strtolower( $path ); 43 44 $path = preg_replace( '|(/[a-z0-9-]+?/).*|', '$1', $path ); 44 45 45 46 $current_site = wpmu_current_site();