diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
index 1daf487..a597e08 100644
a
|
b
|
function network_site_url( $path = '', $scheme = null ) { |
2107 | 2107 | if ( ! is_multisite() ) |
2108 | 2108 | return site_url($path, $scheme); |
2109 | 2109 | |
2110 | | if ( 'relative' == $scheme ) |
2111 | | $url = $current_site->path; |
2112 | | else |
2113 | | $url = set_url_scheme( 'http://' . $current_site->domain . $current_site->path, $scheme ); |
| 2110 | $url = trailingslashit( site_url( '', $scheme ) ); |
2114 | 2111 | |
2115 | 2112 | if ( $path && is_string( $path ) ) |
2116 | 2113 | $url .= ltrim( $path, '/' ); |