equal
deleted
inserted
replaced
56 */ |
56 */ |
57 public function IXR_Client( $server, $path = false, $port = 80, $timeout = 15 ) { |
57 public function IXR_Client( $server, $path = false, $port = 80, $timeout = 15 ) { |
58 self::__construct( $server, $path, $port, $timeout ); |
58 self::__construct( $server, $path, $port, $timeout ); |
59 } |
59 } |
60 |
60 |
61 function query() |
61 /** |
|
62 * @since 1.5.0 |
|
63 * @since 5.5.0 Formalized the existing `...$args` parameter by adding it |
|
64 * to the function signature. |
|
65 * |
|
66 * @return bool |
|
67 */ |
|
68 function query( ...$args ) |
62 { |
69 { |
63 $args = func_get_args(); |
|
64 $method = array_shift($args); |
70 $method = array_shift($args); |
65 $request = new IXR_Request($method, $args); |
71 $request = new IXR_Request($method, $args); |
66 $length = $request->getLength(); |
72 $length = $request->getLength(); |
67 $xml = $request->getXml(); |
73 $xml = $request->getXml(); |
68 $r = "\r\n"; |
74 $r = "\r\n"; |