Changeset 5193 for trunk/wp-includes/functions.php
- Timestamp:
- 04/06/2007 04:21:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5178 r5193 816 816 foreach($qs as $k => $v) { 817 817 if ( $v !== FALSE ) { 818 $v = rawurlencode($v); 818 819 if ( $ret != '' ) 819 820 $ret .= '&'; … … 824 825 } 825 826 } 827 $ret = trim($ret, '?'); 826 828 $ret = $protocol . $base . $ret . $frag; 827 829 if ( get_magic_quotes_gpc() ) 828 830 $ret = stripslashes($ret); // parse_str() adds slashes if magicquotes is on. See: http://php.net/parse_str 829 return trim($ret, '?');831 return $ret; 830 832 } 831 833
Note: See TracChangeset
for help on using the changeset viewer.