X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/0461a5f2e55c8d5f1fde96ca2e83117152573c7d..9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f:/wp-includes/class-wp-http-ixr-client.php diff --git a/wp-includes/class-wp-http-ixr-client.php b/wp-includes/class-wp-http-ixr-client.php index b412e2a2..2a18716c 100644 --- a/wp-includes/class-wp-http-ixr-client.php +++ b/wp-includes/class-wp-http-ixr-client.php @@ -8,7 +8,7 @@ */ class WP_HTTP_IXR_Client extends IXR_Client { - function __construct($server, $path = false, $port = false, $timeout = 15) { + public function __construct($server, $path = false, $port = false, $timeout = 15) { if ( ! $path ) { // Assume we have been given a URL instead $bits = parse_url($server); @@ -21,7 +21,7 @@ class WP_HTTP_IXR_Client extends IXR_Client { if ( ! $this->path ) { $this->path = '/'; } - + if ( ! empty( $bits['query'] ) ) { $this->path .= '?' . $bits['query']; } @@ -35,7 +35,7 @@ class WP_HTTP_IXR_Client extends IXR_Client { $this->timeout = $timeout; } - function query() { + public function query() { $args = func_get_args(); $method = array_shift($args); $request = new IXR_Request($method, $args);