Ticket #13452: use http_build_query.diff
File use http_build_query.diff, 1.0 KB (added by , 15 years ago) |
---|
-
Users/simon/Projects/WordPress-Bleeding/site/wp-includes/functions.php
1324 1324 * Build URL query based on an associative and, or indexed array. 1325 1325 * 1326 1326 * This is a convenient function for easily building url queries. It sets the 1327 * separator to '&' and uses _http_build_query() function.1327 * separator to '&' and uses http_build_query() function. 1328 1328 * 1329 * @see _http_build_query() Used to build the query1329 * @see http_build_query() Used to build the query 1330 1330 * @link http://us2.php.net/manual/en/function.http-build-query.php more on what 1331 1331 * http_build_query() does. 1332 1332 * … … 1336 1336 * @return string URL encoded string 1337 1337 */ 1338 1338 function build_query( $data ) { 1339 return _http_build_query( $data, null, '&', '', false );1339 return http_build_query( $data, null, '&', '', false ); 1340 1340 } 1341 1341 1342 1342 /**