Ticket #36507: 36507.diff
File 36507.diff, 651 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/link-template.php
3234 3234 else 3235 3235 $url = set_url_scheme( 'http://' . $current_site->domain . $current_site->path, $scheme ); 3236 3236 3237 $homeurl = get_option( 'home' ); 3238 $siteurl = get_option( 'siteurl' ); 3239 if ( untrailingslashit( $homeurl ) !== untrailingslashit( $siteurl ) ) 3240 $url .= trailingslashit( substr( $siteurl, strlen( trailingslashit( $homeurl ) ) ) ); 3241 3237 3242 if ( $path && is_string( $path ) ) 3238 3243 $url .= ltrim( $path, '/' ); 3239 3244