Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9b7feef7a9
commit
5327a547db
|
@ -817,7 +817,6 @@ function add_query_arg() {
|
||||||
|
|
||||||
foreach($qs as $k => $v) {
|
foreach($qs as $k => $v) {
|
||||||
if ( $v !== FALSE ) {
|
if ( $v !== FALSE ) {
|
||||||
$v = rawurlencode($v);
|
|
||||||
if ( $ret != '' )
|
if ( $ret != '' )
|
||||||
$ret .= '&';
|
$ret .= '&';
|
||||||
if ( empty($v) && !preg_match('|[?&]' . preg_quote($k, '|') . '=|', $query) )
|
if ( empty($v) && !preg_match('|[?&]' . preg_quote($k, '|') . '=|', $query) )
|
||||||
|
|
Loading…
Reference in New Issue