Make WordPress Core

Ticket #7522: 7522.diff

File 7522.diff, 601 bytes (added by ryan, 18 years ago)
  • wp-includes/http.php

     
    214214                        $transports = WP_Http::_getTransport();
    215215                } else {
    216216                        if ( is_array( $r['body'] ) || is_object( $r['body'] ) ) {
    217                                 $r['body'] = http_build_query($r['body']);
     217                                $r['body'] = http_build_query($r['body'], null, '&');
    218218                                $r['headers']['Content-Type'] = 'application/x-www-form-urlencoded; charset=' . get_option('blog_charset');
    219219                                $r['headers']['Content-Length'] = strlen($r['body']);
    220220                        }