]> 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 9e202ed63cc7bee3498e030d217aa60fcf585b31..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;
@@ -90,4 +95,3 @@ class WP_HTTP_IXR_Client extends IXR_Client {
                return true;
        }
 }
-?>