Changeset 13882
- Timestamp:
- 03/29/2010 08:25:30 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r13881 r13882 1832 1832 function get_home_url( $blog_id = null, $path = '', $scheme = null ) { 1833 1833 $orig_scheme = $scheme; 1834 $scheme = is_ssl() && !is_admin() ? 'https' : 'http'; 1834 1835 if ( !in_array($scheme, array('http', 'https')) ) 1836 $scheme = is_ssl() && !is_admin() ? 'https' : 'http'; 1835 1837 1836 1838 if ( empty($blog_id) || !is_multisite() ) … … 2075 2077 global $current_site; 2076 2078 $orig_scheme = $scheme; 2077 $scheme = is_ssl() && !is_admin() ? 'https' : 'http'; 2079 2080 if ( !in_array($scheme, array('http', 'https')) ) 2081 $scheme = is_ssl() && !is_admin() ? 'https' : 'http'; 2078 2082 2079 2083 $url = 'http://' . $current_site->domain . $current_site->path;
Note: See TracChangeset
for help on using the changeset viewer.