Rollback wonky part of [5193]. see #4084

git-svn-id: http://svn.automattic.com/wordpress/trunk@5240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-11 03:41:42 +00:00
parent ef58292639
commit 25191fabb8

View File

@ -817,7 +817,6 @@ function add_query_arg() {
foreach($qs as $k => $v) {
if ( $v !== FALSE ) {
$v = rawurlencode($v);
if ( $ret != '' )
$ret .= '&';
if ( empty($v) && !preg_match('|[?&]' . preg_quote($k, '|') . '=|', $query) )