]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-http-ixr-client.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-includes / class-wp-http-ixr-client.php
index 2a18716c46c653eb6823da6f19cc16c928de8cb3..e0309bf9f46fede1f21d255cfb85cabc92223258 100644 (file)
@@ -7,7 +7,18 @@
  *
  */
 class WP_HTTP_IXR_Client extends IXR_Client {
+       public $scheme;
+       /**
+        * @var IXR_Error
+        */
+       public $error;
 
+       /**
+        * @param string $server
+        * @param string|bool $path
+        * @param int|bool $port
+        * @param int $timeout
+        */
        public function __construct($server, $path = false, $port = false, $timeout = 15) {
                if ( ! $path ) {
                        // Assume we have been given a URL instead
@@ -35,6 +46,9 @@ class WP_HTTP_IXR_Client extends IXR_Client {
                $this->timeout = $timeout;
        }
 
+       /**
+        * @return bool
+        */
        public function query() {
                $args = func_get_args();
                $method = array_shift($args);