]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-http-ixr-client.php
WordPress 3.9-scripts
[autoinstalls/wordpress.git] / wp-includes / class-wp-http-ixr-client.php
index 736fc5a223b6105a5c102354b39357a447caeeb2..b412e2a2f8a8c6712a5ecb0ffce4307ad710d234 100644 (file)
@@ -18,8 +18,13 @@ class WP_HTTP_IXR_Client extends IXR_Client {
                        $this->path = !empty($bits['path']) ? $bits['path'] : '/';
 
                        // Make absolutely sure we have a path
-                       if ( ! $this->path )
+                       if ( ! $this->path ) {
                                $this->path = '/';
+                       }
+                               
+                       if ( ! empty( $bits['query'] ) ) {
+                               $this->path .= '?' . $bits['query'];
+                       }
                } else {
                        $this->scheme = 'http';
                        $this->server = $server;