Document that add_query_arg() expects encoded data. See #18086
git-svn-id: http://svn.automattic.com/wordpress/trunk@18885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d08955e123
commit
15920fc45b
|
@ -1420,7 +1420,8 @@ function _http_build_query($data, $prefix=null, $sep=null, $key='', $urlencode=t
|
||||||
*
|
*
|
||||||
* Adding a single key & value or an associative array. Setting a key value to
|
* Adding a single key & value or an associative array. Setting a key value to
|
||||||
* an empty string removes the key. Omitting oldquery_or_uri uses the $_SERVER
|
* an empty string removes the key. Omitting oldquery_or_uri uses the $_SERVER
|
||||||
* value.
|
* value. Additional values provided are expected to be encoded appropriately
|
||||||
|
* with urlencode() or rawurlencode().
|
||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue