mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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:
parent
ef58292639
commit
25191fabb8
@ -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
Block a user