Changeset 3898
- Timestamp:
- 06/22/2006 03:52:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions.php
r3856 r3898 2084 2084 } 2085 2085 2086 if ( preg_match('|^https?://|i', $uri, $matches) ) { 2087 $protocol = $matches[0]; 2088 $uri = substr($uri, strlen($protocol)); 2089 } else { 2090 $protocol = ''; 2091 } 2092 2086 2093 if ( strstr($uri, '?') ) { 2087 2094 $parts = explode('?', $uri, 2); … … 2093 2100 $query = $parts[1]; 2094 2101 } 2095 } 2096 else if ( strstr($uri, '/') ) { 2102 } else if ( !empty($protocol) || strstr($uri, '/') ) { 2097 2103 $base = $uri . '?'; 2098 2104 $query = '';
Note: See TracChangeset
for help on using the changeset viewer.