Forgot to use $lsb and $rsb in [6064]. Props mdawaffe. see #4935. see #4878

git-svn-id: http://svn.automattic.com/wordpress/trunk@6069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-09-10 15:34:13 +00:00
parent d59743c972
commit 51299852ef

View File

@ -120,7 +120,7 @@ function _http_build_query($data, $prefix=null, $sep=null, $key='', $urlencode=t
if ( is_int($k) && $prefix != null ) if ( is_int($k) && $prefix != null )
$k = $prefix.$k; $k = $prefix.$k;
if ( !empty($key) ) if ( !empty($key) )
$k = $key . '%5B' . $k . '%5D'; $k = $key . $lsb . $k . $rsb;
if ( $v === NULL ) if ( $v === NULL )
continue; continue;
elseif ( $v === FALSE ) elseif ( $v === FALSE )