WordPress.org

Make WordPress Core

Changeset 8648


Ignore:
Timestamp:
08/14/2008 10:54:43 PM (12 years ago)
Author:
ryan
Message:

Always use '&' as arg separator when building the body. fixes #7522

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/http.php

    r8644 r8648  
    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']);
Note: See TracChangeset for help on using the changeset viewer.