User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302

git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-01-05 20:50:54 +00:00
parent c90c0e8600
commit a8d77cbae9
28 changed files with 52 additions and 52 deletions
+2 -2
View File
@@ -673,7 +673,7 @@ function _http_build_query($data, $prefix=null, $sep=null, $key='', $urlencode=t
$k = $prefix.$k;
if ( !empty($key) )
$k = $key . '%5B' . $k . '%5D';
if ( $v === NULL )
if ( $v === null )
continue;
elseif ( $v === FALSE )
$v = '0';
@@ -686,7 +686,7 @@ function _http_build_query($data, $prefix=null, $sep=null, $key='', $urlencode=t
array_push($ret, $k.'='.$v);
}
if ( NULL === $sep )
if ( null === $sep )
$sep = ini_get('arg_separator.output');
return implode($sep, $ret);