Changeset 4231
- Timestamp:
- 09/25/2006 02:12:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions.php
r4229 r4231 2086 2086 } 2087 2087 2088 if ( $frag = strstr($uri, '#') ) 2089 $uri = substr($uri, 0, -strlen($frag)); 2090 else 2091 $frag = ''; 2092 2088 2093 if ( preg_match('|^https?://|i', $uri, $matches) ) { 2089 2094 $protocol = $matches[0]; … … 2125 2130 } 2126 2131 } 2127 $ret = $protocol . $base . $ret ;2132 $ret = $protocol . $base . $ret . $frag; 2128 2133 return trim($ret, '?'); 2129 2134 }
Note: See TracChangeset
for help on using the changeset viewer.