Changeset 38388 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 08/26/2016 09:34:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r38369 r38388 3264 3264 $current_site = get_current_site(); 3265 3265 3266 if ( 'relative' == $scheme ) 3266 if ( 'relative' == $scheme ) { 3267 3267 $url = $current_site->path; 3268 else3268 } else { 3269 3269 $url = set_url_scheme( 'http://' . $current_site->domain . $current_site->path, $scheme ); 3270 3271 if ( $path && is_string( $path ) ) 3270 } 3271 3272 if ( $path && is_string( $path ) ) { 3272 3273 $url .= ltrim( $path, '/' ); 3274 } 3273 3275 3274 3276 /** … … 3310 3312 $scheme = is_ssl() && ! is_admin() ? 'https' : 'http'; 3311 3313 3312 if ( 'relative' == $scheme ) 3314 if ( 'relative' == $scheme ) { 3313 3315 $url = $current_site->path; 3314 else3316 } else { 3315 3317 $url = set_url_scheme( 'http://' . $current_site->domain . $current_site->path, $scheme ); 3316 3317 if ( $path && is_string( $path ) ) 3318 } 3319 3320 if ( $path && is_string( $path ) ) { 3318 3321 $url .= ltrim( $path, '/' ); 3322 } 3319 3323 3320 3324 /**
Note: See TracChangeset
for help on using the changeset viewer.