Changeset 38636 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 09/20/2016 09:38:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r38611 r38636 3258 3258 $current_site = get_current_site(); 3259 3259 3260 if ( 'relative' == $scheme ) {3260 if ( 'relative' == $scheme ) 3261 3261 $url = $current_site->path; 3262 } else {3262 else 3263 3263 $url = set_url_scheme( 'http://' . $current_site->domain . $current_site->path, $scheme ); 3264 } 3265 3266 if ( $path && is_string( $path ) ) { 3264 3265 if ( $path && is_string( $path ) ) 3267 3266 $url .= ltrim( $path, '/' ); 3268 }3269 3267 3270 3268 /** … … 3306 3304 $scheme = is_ssl() && ! is_admin() ? 'https' : 'http'; 3307 3305 3308 if ( 'relative' == $scheme ) {3306 if ( 'relative' == $scheme ) 3309 3307 $url = $current_site->path; 3310 } else {3308 else 3311 3309 $url = set_url_scheme( 'http://' . $current_site->domain . $current_site->path, $scheme ); 3312 } 3313 3314 if ( $path && is_string( $path ) ) { 3310 3311 if ( $path && is_string( $path ) ) 3315 3312 $url .= ltrim( $path, '/' ); 3316 }3317 3313 3318 3314 /**
Note: See TracChangeset
for help on using the changeset viewer.