Changeset 4123
- Timestamp:
- 08/30/2006 01:02:45 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r4114 r4123 607 607 } 608 608 609 if ( $frag = strstr($uri, '#') ) 610 $uri = substr($uri, 0, -strlen($frag)); 611 else 612 $frag = ''; 613 609 614 if ( preg_match('|^https?://|i', $uri, $matches) ) { 610 615 $protocol = $matches[0]; … … 646 651 } 647 652 } 648 $ret = $protocol . $base . $ret ;653 $ret = $protocol . $base . $ret . $frag; 649 654 if ( get_magic_quotes_gpc() ) 650 655 $ret = stripslashes($ret); // parse_str() adds slashes if magicquotes is on. See: http://php.net/parse_str
Note: See TracChangeset
for help on using the changeset viewer.